* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    background-color: var(--background);
}

:root {
    --primary: #185df5;
    --secondary: #518ef0;
    --accent: #22c55e;
    --text: #102a43;
    --subtitles: #64748b;
    --background: #f2f5f7;
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
}

.logo-icon {
    height: 180px;
    width: auto;
    mix-blend-mode: multiply;
}

.logo {
    flex: 1;
}

.navbar-links {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-links ul {
    display: flex;
    list-style-type: none;
    gap: 4rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.registration-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    align-items: center;
    margin-right: 20px;
}

.mobile-view {
    display: none;
}

.navbar-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
     font-variation-settings:
    "wdth" 100;
}

.navbar-links a:hover {
    color: var(--text);
    transition: 0.4s ease-in;
}
.btnRegistration {
    padding: 14px;
    text-decoration: none;
    border-radius: 16px;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
     font-variation-settings:
    "wdth" 100;
}

.login-btn {
    color: var(--text);
}

.login-btn:hover {
    background-color: white;
    transition: 0.4s ease-in;
}
.signup-btn {
    background-color: var(--primary);
    color: white !important;
}

.screen-size {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.signup-title {
    font-size: 42px;
    text-align: center;
    font-family: "Roboto", sans-serif;
    color: #0056B3;
}
.signup-message {
    text-align: center;
    font-family: "Roboto", sans-serif;
    color: var(--text);
    font-weight: 600;
}

.signup-container p {
    text-align: center;
    font-family: "Roboto", sans-serif;
    color: var(--subtitles);
    font-size: 16px;
}

#signupform, #loginform, #passwordform, #emailform {
    display: flex;
    flex-direction: column;
    gap: 12px; 
}

label {
    color: var(--text);
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 400;
}

input {
    width: 100%;
    padding: 12px;
    font-family: "Roboto", sans-serif;
    border-radius: 12px;
    outline: none;
    font-size: 16px;
    border: 2px solid #e5e7eb;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-button {
    width: 100%;
    padding: 14px 18px;
    color: white;
    background-color: var(--primary);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    cursor: pointer;
    transition: 0.2s ease-in;
}

.submit-button:hover {
    background-color: #2563eb;
}

.login {
    text-align: center;
    font-size: 16px;
    padding: 10px;
    color: var(--subtitles);
}

.login a {
    color: var(--primary);
    text-decoration: none;
}

.login a:hover {
    text-decoration: underline;
}

  .error {
    color: #DC2626;
    font-size: 0.8rem;
    display: none;
  }

  .message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
  }

  .success {
    color: #10B981;
  }

  .fail {
    color: #DC2626;
  }


.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 22%),
                radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.14), transparent 18%),
                linear-gradient(180deg, #eff2ff 0%, #f8fafc 100%);
}

.auth-container {
    width: min(600px, 100%);
}

.auth-card {
    position: relative;
    z-index: 1;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.12);
}

.auth-header {
    padding: 36px 32px;
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
    color: #ffffff;
}

.auth-logo {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 1rem;
    opacity: 0.92;
    line-height: 1.6;
}

.auth-content {
    padding: 36px 32px;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
}

.auth-input,
.form-input {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #dbe4ff;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
    font-size: 1rem;
    color: #0f172a;
    transition: all 0.25s ease;
}

.auth-input:focus,
.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.auth-input.error,
.form-input.error {
    border-color: #f87171;
    background: #fef2f2;
}

.auth-input.valid,
.form-input.valid {
    border-color: #34d399;
}

.error-message {
    display: none;
    margin-top: 8px;
    color: #b91c1c;
    font-size: 0.86rem;
}

.auth-input.error ~ .error-message,
.form-input.error ~ .error-message {
    display: block;
}

.password-strength {
    display: none;
    margin-top: 12px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0;
    background: #ef4444;
    transition: width 0.25s ease, background 0.25s ease;
}

.strength-weak {
    width: 28%;
    background: #ef4444;
}

.strength-fair {
    width: 60%;
    background: #f59e0b;
}

.strength-good {
    width: 100%;
    background: #10b981;
}

.password-strength-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #475569;
    min-height: 20px;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.forgot-link {
    color: #4338ca;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.forgot-link:hover {
    color: #6366f1;
}

.submit-button {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(99, 102, 241, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


.auth-footer {
    padding: 0 32px 32px;
    text-align: center;
}

.auth-link {
    color: #64748b;
    font-size: 0.95rem;
}

.auth-link a {
    color: #4338ca;
    font-weight: 700;
    text-decoration: none;
}

.auth-link a:hover {
    color: #6366f1;
}

.message {
    display: none;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 18px;
    padding: 14px 18px;
    font-size: 0.95rem;
    text-align: center;
}

.message.show {
    display: block;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.message.error {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fca5a5;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
    padding: 2rem 2.5rem 4rem;
}

.hero-copy {
    max-width: 560px;
}

.hero-title {
    font-size: clamp(3rem, 4vw, 2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin: 0 0 1.5rem;
    color: var(--text);
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 540px;
    color: var(--subtitles);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}


.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-frame {
    position: relative;
    width: 100%;
    max-width: 660px;
    height: 480px;
    aspect-ratio: 5 / 4;
    border-radius: 40px;
}

.device-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.members-section {
    padding: 12px;
    text-align: center;
}

.features-section {
    display: grid;
    width: min(1160px, 100%);
    margin: 0 auto;
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem 2rem;
    gap: 2.5rem;
}

.features-title {
    text-align: center;
    color: var(--text);
    font-size: 2.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.features-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: center;
    background: #eef4ff;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 32px;
    padding: 2.25rem;
}

.features-text {
    display: grid;
    gap: 1rem;
    max-width: 42rem;
}

.cards-title {
    margin: 0;
    color: #0f172a;
    font-size: 2rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cards-description {
    margin: 0;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 40rem;
}

.features-design {
    position: relative;
    display: grid;
    place-items: center;
    background: #f6f9ff;
    border-radius: 28px;
    padding: 2rem;
    min-height: 340px;
}

.features-design iframe {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 260px;
    border-radius: 22px;
    border: 0;
}

@media (max-width: 1024px) {
    .features-card {
        grid-template-columns: 1fr;
    }

    .features-design {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .features-section {
        padding: 2.25rem 1rem 1.25rem;
        gap: 1.5rem;
    }

    .features-card {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .features-title {
        font-size: 2.4rem;
    }
}

.social-section {
    display: grid;
    width: 80%;
    margin: 0 auto 3rem;
    gap: 1.5rem;
    padding: 2rem 0;
}

.social-header {
    text-align: center;
}

.social-subtitle {
    margin: 0 0 0.5rem;
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.social-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.05;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.social-card {
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.16);
    padding: 1.75rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 1.25rem;
}

.social-rating {
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: #2563eb;
}

.social-feedback {
    margin: 0;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.8;
}

.social-profile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.social-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #dbeafe;
    display: grid;
    place-items: center;
    color: #2563eb;
    font-weight: 700;
}

.social-name {
    margin: 0;
    color: #0f172a;
    font-weight: 700;
}

.social-role {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.footer-section {
    padding: 1.5rem 0 2rem;
    background: #f8fbff;
}

.footer-content {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #475569;
}

.footer-brand {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-copy {
    margin: 0;
    font-size: 0.95rem;
}

@media screen and (max-width: 980px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 2rem 1.5rem 3rem;
    }

    .hero-copy,
    .hero-media {
        width: 100%;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .device-frame {
        max-width: 100%;
        height: auto;
    }

    .features-section,
    .social-section {
        width: 92%;
        padding: 1.5rem 0;
        gap: 1.5rem;
    }

    .features-card,
    .social-card {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 700px) {
    .hero-title {
        font-size: clamp(2.4rem, 9vw, 3rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
    }

    .btn {
        width: 100%;
    }

    .device-frame {
        aspect-ratio: 4 / 3;
    }

    .features-card,
    .social-card {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-section {
        width: 100%;
        padding: 1.5rem 0;
    }

    .nav {
        padding: 0 1rem;
    }

    .logo-icon {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1.5rem 1rem 2.5rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.05;
    }

    .hero-actions {
        margin-bottom: 1.5rem;
    }

    .hero-description {
        margin-bottom: 1.5rem;
    }

    .navbar-links ul {
        gap: 1rem;
    }

    .registration-links {
        gap: 0.75rem;
        margin-right: 0;
    }
}

@media screen and (max-width: 820px) {
    .mobile-view {
        display: block;
        cursor: pointer;
        z-index: 100;
        padding: 0.5rem;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--text);
        transition: transform 0.3s ease-in-out;
    }

    .mobile-view.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-view.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-view.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    .nav {
        padding: 0 1.5rem;
    }

    .navbar-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--background);
        width: 100%;
        height: auto;
        padding: 2rem 0;
        transition: left 0.3s ease-in-out;
        z-index: 99;
    }

    .navbar-links.active {
        left: 0;
    }

    .navbar-links ul {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .navbar-links li {
        width: 100%;
    }

    .navbar-links a {
        display: block;
        width: 100%;
        padding: 0.85rem 0;
        font-size: 1.1rem;
        text-align: center;
    }

    .registration-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .btnRegistration {
        width: calc(100% - 3rem);
        max-width: 360px;
        text-align: center;
    }
    body.menu-open {
        overflow: hidden;
    }
}


@media screen and (max-width: 920px) {
    .navbar-links ul {
        gap: 2rem;
    }

    .registration-links {
        margin-right: 10px;
        gap: 1.4rem;
    }

    .btnRegistration {
        padding: 14px;
        font-size: 16px;

    }
}

.contact-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.contact-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.contact-hero-copy .eyebrow,
.card-header .eyebrow {
    margin: 0 0 1rem;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
}

.contact-hero-copy h1,
.card-header h2,
.contact-details h2 {
    margin: 0;
    color: var(--text);
    line-height: 1.04;
}

.contact-hero-copy h1 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    margin-bottom: 1.2rem;
}

.contact-hero-copy p,
.card-header p,
.contact-details p {
    margin: 0;
    color: var(--subtitles);
    line-height: 1.9;
    max-width: 44rem;
    font-size: 1.05rem;
}

.contact-hero-card {
    background: #eff6ff;
    border: 1px solid rgba(56, 139, 255, 0.18);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 1.5rem;
}

.hero-card-label {
    margin: 0;
    color: #2563eb;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-card-title {
    margin: 0.5rem 0 0;
    font-size: 1.6rem;
    color: #0f172a;
    line-height: 1.2;
}

.hero-card-grid {
    display: grid;
    gap: 1rem;
}

.hero-card-item {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(56, 139, 255, 0.12);
}

.hero-card-item span {
    color: #475569;
    font-size: 0.95rem;
}

.hero-card-item strong {
    color: #0f172a;
    font-size: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
}

.contact-details h2,
.card-header h2 {
    font-size: 2rem;
    margin-bottom: 0.9rem;
}

.contact-info {
    display: grid;
    gap: 1.3rem;
    margin: 1.75rem 0 0;
}

.info-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

.info-text {
    margin: 0.35rem 0 0;
    color: var(--text);
    line-height: 1.75;
}

.contact-links {
    margin-top: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-row label {
    font-weight: 600;
    color: #334155;
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid #dbe4ff;
    background: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    color: #0f172a;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 980px) {
    .contact-page {
        padding: 2rem 1rem 3rem;
    }

    .contact-hero,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.login-page {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    gap: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

/* Brand Section */
.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    color: white;
}

.brand-content {
    text-align: center;
}

.brand-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.brand-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0 0 40px 0;
    line-height: 1.6;
    font-weight: 300;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    opacity: 0.9;
}

.feature-item i {
    font-size: 1.5rem;
    min-width: 24px;
}

/* Form Section */
.login-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
}

.login-form-container {
    width: 100%;
    max-width: 380px;
}

.form-header {
    margin-bottom: 35px;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
}

.form-header p {
    color: #718096;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}

/* Message Box */
.message-box {
    display: none;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-box.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message-box.error {
    background-color: #fef2f2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

/* Form Groups */
.loginform {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
}

.form-label i {
    font-size: 0.95rem;
    color: var(--primary);
}


.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: #f8f9fa;
    color: #2d3748;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #a0aec0;
}

.form-input:focus {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(24, 93, 245, 0.1);
}

.form-input.is-invalid {
    border-color: #f56565;
    background-color: #fff5f5;
}

.form-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(245, 101, 101, 0.1);
}

.form-input.is-valid {
    border-color: #48bb78;
    background-color: #f0fff4;
}

.form-input.is-valid:focus {
    box-shadow: 0 0 0 4px rgba(72, 187, 120, 0.1);
}


.input-icon-right {
    display: flex;
    align-items: center;
    margin-right: 12px;
    min-width: 24px;
    font-size: 1.2rem;
}


.password-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--primary);
}


.error-message {
    display: none;
    font-size: 0.8rem;
    color: #c53030;
    font-weight: 500;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0 10px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.forgot-link {
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #0d47a1;
}


.submit-button {
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(24, 93, 245, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-button:active:not(:disabled) {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-text {
    transition: opacity 0.2s ease;
}

.button-loader {
    display: none;
}


.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
}

.form-footer p {
    margin: 0;
}

.signup-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.signup-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-page {
        padding: 20px;
        background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    }

    .login-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        height: auto;
    }

    .login-brand {
        display: none;
    }

    .login-form-wrapper {
        padding: 30px 20px;
    }

    .login-form-container {
        max-width: 100%;
    }

    .form-header h2 {
        font-size: 1.6rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .loginform {
        gap: 16px;
    }

    .form-group {
        gap: 6px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px;
    }
    .submit-button {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 15px;
    }

    .login-form-wrapper {
        padding: 20px 15px;
    }

    .form-header h2 {
        font-size: 1.3rem;
    }

    .form-header {
        margin-bottom: 25px;
    }

    .form-label {
        font-size: 0.85rem;
    }

    .form-input {
        padding: 12px 12px;
        font-size: 16px;
        border-radius: 8px;
    }

    .submit-button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .form-footer {
        font-size: 0.85rem;
    }

    .message-box {
        font-size: 0.9rem;
        padding: 12px 14px;
    }
}


@media (prefers-color-scheme: dark) {
    .login-page {
        background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    }

    .login-form-wrapper {
        background: #1a202c;
    }

    .form-header h2 {
        color: #f7fafc;
    }

    .form-header p {
        color: #cbd5e0;
    }

    .form-label {
        color: #e2e8f0;
    }

    .form-input {
        background-color: #2d3748;
        color: #f7fafc;
        border-color: #4a5568;
    }

    .form-input::placeholder {
        color: #718096;
    }

    .form-input:focus {
        background-color: #374151;
    }
}



.signup-page {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    gap: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    background: white;
}


.signup-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    color: white;
}

.signup-brand .brand-content {
    text-align: center;
}

.signup-brand .brand-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.signup-brand .brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.signup-brand .brand-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0 0 40px 0;
    line-height: 1.6;
    font-weight: 300;
}

.brand-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    opacity: 0.9;
}

.benefit-item i {
    font-size: 1.2rem;
    min-width: 24px;
}


.signup-form-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    background: white;
    overflow-y: auto;
    max-height: none;
}

.signup-form-container {
    width: 100%;
    max-width: 380px;
}

.signupform {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.password-requirements {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 14px;
    margin: -5px 0 10px 0;
}

.requirements-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #15803d;
    margin: 0 0 10px 0;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #d1d5db;
    margin: 6px 0;
}

.requirement-item i {
    font-size: 0.6rem;
    transition: color 0.2s ease;
}


.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #4a5568;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}

.terms-agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

.login-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}




@media (max-width: 768px) {
    .signup-page {
        padding: 20px;
        background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    }

    .signup-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        height: auto;
    }

    .signup-brand {
        display: none;
    }

    .signup-form-wrapper {
        padding: 30px 20px;
        max-height: 100%;
    }

    .signup-form-container {
        max-width: 100%;
    }

    .form-header h2 {
        font-size: 1.6rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .signupform {
        gap: 16px;
    }

    .form-group {
        gap: 6px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on mobile */
    }

    .submit-button {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .password-requirements {
        padding: 10px 12px;
        margin: -3px 0 8px 0;
    }

    .requirements-title {
        font-size: 0.8rem;
        margin: 0 0 8px 0;
    }

    .requirement-item {
        font-size: 0.8rem;
        margin: 4px 0;
    }
}

@media (max-width: 480px) {
    .signup-page {
        padding: 15px;
    }

    .signup-form-wrapper {
        padding: 20px 15px;
    }

    .form-header h2 {
        font-size: 1.3rem;
    }

    .form-header {
        margin-bottom: 25px;
    }

    .form-label {
        font-size: 0.85rem;
    }

    .form-input {
        padding: 12px 12px;
        font-size: 16px;
        border-radius: 8px;
    }

    .submit-button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .form-footer {
        font-size: 0.85rem;
    }

    .message-box {
        font-size: 0.9rem;
        padding: 12px 14px;
    }

    .signupform {
        gap: 14px;
    }

    .password-requirements {
        padding: 10px;
        margin: -3px 0 6px 0;
    }

    .terms-agreement {
        font-size: 0.8rem;
    }
}


@media (prefers-color-scheme: dark) {
    .signup-page {
        background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
    }

    .signup-form-wrapper {
        background: #1a202c;
    }

    .signup-form-container .form-header h2 {
        color: #f7fafc;
    }

    .signup-form-container .form-header p {
        color: #cbd5e0;
    }

    .password-requirements {
        background-color: rgba(16, 185, 129, 0.1);
        border-color: rgba(16, 185, 129, 0.3);
    }

    .requirements-title {
        color: #86efac;
    }

    .requirement-item {
        color: #9ca3af;
    }

    .terms-agreement {
        color: #cbd5e0;
    }
}


