/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 @font-face {
    font-family: 'SF Pro Rounded';
    src: url("/assets/sf-pro/SF-Pro-Rounded-Regular-702ae7fb.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
  }
  @font-face {
    font-family: 'SF Pro Rounded';
    src: url("/assets/sf-pro/SF-Pro-Rounded-Bold-692fa48c.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
  }
  
  /* --- SHSAT Buddy Global Styles --- */

  :root {
    --accent-color: #354156;
    --input-border: #d1d5db;
    --input-bg: #f9fafb;
    --input-placeholder: #9ca3af;
    --text-main: #222;
    --text-muted: #6b7280;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(53, 65, 86, 0.08);
  }
  
  body {
    font-family: 'SF Pro Rounded', 'SF Pro', 'SF Pro Text', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text-main);
    background: #fff;
  }

  .auth-container {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px 24px;
  }

  .auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .auth-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: left;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.5rem;
  }

  .auth-input,
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius);
    background: var(--input-bg);
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
  }

  .auth-input::placeholder,
  input[type="email"]::placeholder,
  input[type="password"]::placeholder,
  input[type="tel"]::placeholder,
  input[type="text"]::placeholder {
    color: var(--input-placeholder);
    opacity: 1;
  }

  .button-accent {
    width: 100%;
    padding: 12px 0;
    background: var(--accent-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
  }
  
  .button-accent:hover,
  .button-accent:focus {
    background: #232a36;
  }

  .auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--text-muted);
  }
  .auth-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
  }
  .auth-footer a:hover {
    text-decoration: underline;
  }

  .forgot-link {
    display: block;
    text-align: right;
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-decoration: none;
  }
  .forgot-link:hover {
    text-decoration: underline;
  }

  .quick-tips {
    background-color: rgba(220, 38, 38, 0.25); /* Tailwind red-600 at 25% opacity */
    border-left: 4px solid #dc2626; /* Tailwind red-600 */
    padding: 1.5rem;
    border-radius: 0.5rem;
  }

  @layer components {
    .flash-message {
      @apply transition-opacity duration-300 ease-in-out;
    }
  
    /* Desktop Left Side Navigation Styles */
    .left-nav-container {
      /* Fixed positioned left navigation */
      position: fixed;
      left: 0.5rem;
      top: 50%;
      transform: translateY(-50%); /* Center vertically */
      width: 5rem;
      z-index: 40;
      background-color: white;
      border: 1px solid rgb(229, 231, 235); /* border-gray-200 - full border */
      border-radius: 0.75rem; /* rounded-xl - add rounded corners */
      box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow all around */
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem 0; /* vertical padding only */
    }
  
    .left-nav-tab {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.25rem 0.75rem; /* py-4 px-3 - more vertical padding */
      transition: all 0.2s ease-in-out;
      cursor: pointer;
      text-decoration: none;
      width: 100%;
      position: relative;
    }
  
    .left-nav-tab:hover {
      background-color: rgb(249, 250, 251); /* bg-gray-50 */
      color: rgb(55, 65, 81); /* text-gray-700 - ensure text is visible on hover */
    }
  
    .left-nav-tab.active {
      background-color: #354156;
      color: white;
      box-shadow: 0 4px 12px -2px rgba(53, 65, 86, 0.3);
    }
  
    .left-nav-tab.active:hover {
      background-color: #354156; /* Keep the same as non-hover active state */
      color: white !important; /* Force white text on active hover */
    }

    .left-nav-tab.active:hover svg,
    .left-nav-tab.active:hover i {
      color: white; /* Override the general hover icon color for active tabs */
    }
  
    .left-nav-tab svg,
    .left-nav-tab i {
      width: 1.5rem; /* w-6 - larger icons */
      height: 1.5rem; /* h-6 - larger icons */
    }

    .left-nav-tab.active svg,
    .left-nav-tab.active i {
      color: white;
    }

    .left-nav-tab:hover svg,
    .left-nav-tab:hover i {
      color: rgb(55, 65, 81); /* text-gray-700 - ensure icons are visible on hover */
    }
  
    /* Desktop: hide bottom nav, show left nav */
    @media (min-width: 768px) {
      .bottom-nav-container {
        display: none;
      }
      
      .left-nav-container {
        display: block;
      }
    }
  
    /* Mobile: hide left nav */
    @media (max-width: 767px) {
      .left-nav-container {
        display: none;
      }
    }
  
    /* Hover effects for desktop top navigation (legacy - will be removed) */
    @media (hover: hover) and (min-width: 768px) {
      .desktop-nav-container a:hover {
        @apply text-gray-700 border-gray-300;
      }
    }
  
    /* IAP Status Messages */
    .iap-status {
      @apply text-sm font-medium;
    }
    
    .iap-status.success {
      @apply bg-green-50 text-green-800 border border-green-200;
    }
    
    .iap-status.error {
      @apply bg-red-50 text-red-800 border border-red-200;
    }
    
    .iap-status.info {
      @apply bg-blue-50 text-blue-800 border border-blue-200;
    }
  } 