 /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #f5f7fb;
            min-height: 100vh;
            color: #1E40AF;
            line-height: 1.6;
            display: flex;
            flex-direction: column;
        }
        
 .logo-icon {
    width: 64px;
    height: 64px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* important */
}

.logo-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transform: translate(-20px, 0px);
}

 .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: black;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
 color: rgba(30, 64, 175, 0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}   

       
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  position: sticky; top:0; z-index:1000;
}

.header-container{
  max-width:1400px; margin:0 auto;
  padding:1rem 2rem;
  display:flex; align-items:center; justify-content:space-between;
}


        .btn {
            padding: 0.5rem 1.25rem;
            border: none;
            border-radius: 25px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.7);
            color: #1E40AF;
            border: 1px solid rgba(59, 130, 246, 0.3);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.9);
            transform: translateY(-1px);
        }

        /* Main Container */
        .main-container {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            min-height: calc(100vh - 200px);
        }

        /* Login Card */
        .login-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 25px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            padding: 3rem;
            width: 100%;
            max-width: 450px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .login-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .login-title {
            font-size: 2rem;
            font-weight: 700;
            color: black;
            margin-bottom: 0.5rem;
        }

        .login-subtitle {
            color: black;
            font-size: 1rem;
        }

        /* Form Styles */
        .login-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-label {
            font-weight: 500;
            color: #1E40AF;
            font-size: 0.875rem;
        }

        .form-input {
            position: relative;
        }

        .form-input i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(30, 64, 175, 0.5);
            z-index: 1;
        }

        .form-input input {
            width: 100%;
            padding: 0.875rem 1rem 0.875rem 2.75rem;
            border: 2px solid rgba(59, 130, 246, 0.2);
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.8);
            font-size: 1rem;
            transition: all 0.3s ease;
            color: #1E40AF;
        }

        .form-input input:focus {
            outline: none;
            border-color: #3B82F6;
            background: white;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .form-input input::placeholder {
            color: rgba(30, 64, 175, 0.5);
        }

        /* Password visibility toggle */
        .password-toggle {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: rgba(30, 64, 175, 0.5);
            cursor: pointer;
            padding: 0.25rem;
            border-radius: 4px;
            transition: color 0.3s ease;
        }

        .password-toggle:hover {
            color: #3B82F6;
        }

        /* Form Options */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0.5rem 0;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: rgba(30, 64, 175, 0.8);
        }

        .remember-me input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #3B82F6;
        }

        .forgot-password {
            color: #3B82F6;
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .forgot-password:hover {
            color: #2563EB;
            text-decoration: underline;
        }

        /* Login Button */
        .login-btn {
            background: linear-gradient(135deg, #3B82F6, #8B5CF6);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 15px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
        }

        .login-btn:active {
            transform: translateY(0);
        }

        .login-btn.loading {
            opacity: 0.8;
            cursor: not-allowed;
        }

        .login-btn .spinner {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
        }

        .login-btn.loading .spinner {
            display: block;
        }

        .login-btn.loading .btn-text {
            display: none;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Divider */
        .divider {
            display: flex;
            align-items: center;
            margin: 1.5rem 0;
            color: rgba(30, 64, 175, 0.5);
            font-size: 0.875rem;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(59, 130, 246, 0.2);
        }

        .divider span {
            padding: 0 1rem;
        }

        /* Social Login */
        .social-login {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .social-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            border: 2px solid rgba(59, 130, 246, 0.2);
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.8);
            color: #1E40AF;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .social-btn:hover {
            background: white;
            border-color: #3B82F6;
            transform: translateY(-1px);
        }

        .social-btn i {
            font-size: 1.25rem;
        }

        .google-btn i {
            color: #EA4335;
        }

        /* Sign Up Link */
        .signup-link {
            text-align: center;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(59, 130, 246, 0.2);
            color: rgba(30, 64, 175, 0.7);
            font-size: 0.875rem;
        }

        .signup-link a {
            color: #3B82F6;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .signup-link a:hover {
            color: #2563EB;
            text-decoration: underline;
        }

        /* Error Messages */
        .error-message {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #DC2626;
            padding: 0.75rem 1rem;
            border-radius: 10px;
            font-size: 0.875rem;
            display: none;
            align-items: center;
            gap: 0.5rem;
        }

        .error-message.show {
            display: flex;
        }

        /* Success Messages */
        .success-message {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #059669;
            padding: 0.75rem 1rem;
            border-radius: 10px;
            font-size: 0.875rem;
            display: none;
            align-items: center;
            gap: 0.5rem;
        }

        .success-message.show {
            display: flex;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .header-container {
                padding: 1rem;
            }
            
            .main-container {
                padding: 1rem;
            }
            
            .login-card {
                padding: 2rem;
                margin: 1rem 0;
            }
            
            .login-title {
                font-size: 1.75rem;
            }
}
        @media (max-width: 480px) {
            .login-card {
                padding: 1.5rem;
            }
        
            .form-options {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }
        }
  

/* =========================================================
   MOBILE FULL-WIDTH FIX (EDGE-TO-EDGE CONTENT)
   Mobile only – desktop untouched
========================================================= */
@media (max-width: 768px) {

  /* Remove side padding from page-level containers */
  .main-container,
  .profile-banner,
  .profile-banner-container,
  .wrapit,
  .flash {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Ensure columns and content fill screen */
  .content-column {
    padding-left: 0;
    padding-right: 0;
  }

  /* Make feed items truly full width */
  .feed-item {
    margin-left: 0;
    margin-right: 0;
    border-radius: 16px; /* keep softness */
  }

  /* Profile banner card edge-to-edge */
  .profile-banner {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0; /* optional – modern mobile look */
  }

  /* Header stays clean */
  .header-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


@media (max-width: 768px) {

  .logo-icon img {
      width: 80px;
  height: 80px;
    transform: translate(15px, 8px);
    margin-bottom:15px;
  }

  .logo-text {
    margin-left: 58px;
    margin-top: 18px;
    text-align:center;
  }

}
