:root {
    /* Common colors */
    --primary-color: #ff0000;
    --accent-color: #ff3333;
    --success-color: #ff3333;
    
    /* Dark theme (default) */
    --secondary-color: #0f0f0f;
    --light-color: #f9fafb;
    --dark-color: #000000;
    --neutral-color: #64748b;
    --border-color: #2a2a2a;
    --card-bg: #121212;
    --input-bg: #1e1e1e;
    --text-muted: #9ca3af;
    --text-dark: #171717;
    --feature-card-bg: #0a0a0a;
    --result-bg: #121212;
    --result-text: #e2e8f0;
    --visualizer-border: #333;
    --visualizer-text: #e2e8f0;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --glow-effect: 0 0 15px #ff0000;
    --body-bg: #000000;
    --footer-bg: #0f0f0f;
    --header-bg: #0f0f0f;
    --dropdown-bg: #1a1a2a;
    --dropdown-hover: #2a2a2a;
}

/* Light theme */
[data-theme="light"] {
    --secondary-color: #f0f0f0;
    --light-color: #333333;
    --dark-color: #ffffff;
    --neutral-color: #64748b;
    --border-color: #d1d5db;
    --card-bg: #ffffff;
    --input-bg: #f5f5f5;
    --text-muted: #64748b;
    --text-dark: #171717;
    --feature-card-bg: #f9fafb;
    --result-bg: #f5f5f5;
    --result-text: #333333;
    --visualizer-border: #d1d5db;
    --visualizer-text: #333333;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glow-effect: 0 0 15px rgba(255, 0, 0, 0.3);
    --body-bg: #ffffff;
    --footer-bg: #f0f0f0;
    --header-bg: #f0f0f0;
    --dropdown-bg: #ffffff;
    --dropdown-hover: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Apply longer transition when actively changing themes */
.theme-transition * {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease !important;
}

body {
    background-color: var(--body-bg);
    color: var(--light-color);
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--header-bg);
    color: var(--light-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

header > .container {
    padding-left: 0;
    padding-right: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: 0;
}

.navbar-center {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 1.5rem;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--light-color);
}

.logo i {
    margin-right: 10px;
    color: var(--primary-color);
}

.logo span {
    color: var(--light-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.2s;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after {
    width: 80%;
    left: 10%;
}

.main {
    flex: 1;
    padding: 3rem 0;
}

/* Button Styles */
.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #1f1f1f;
}

.btn-outline {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(255, 0, 0, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-social {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    font-weight: 500;
}

.btn-google {
    background-color: white;
    color: #444;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 50px;
    transition: all 0.3s ease;
}

.btn-google::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="%234285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="%23FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="%2334A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.btn-google i {
    display: none; /* Hide the Font Awesome icon */
}

.btn-google:hover {
    background-color: #f8f8f8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-width: 2px;
    border-image: linear-gradient(to right, #4285F4, #EA4335, #FBBC05, #34A853);
    border-image-slice: 1;
    border-style: solid;
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-google {
    background-color: #2d2d2d;
    color: #f1f1f1;
    border-color: #444;
}

[data-theme="dark"] .btn-google:hover {
    background-color: #3d3d3d;
    border-width: 2px;
    border-image: linear-gradient(to right, #4285F4, #EA4335, #FBBC05, #34A853);
    border-image-slice: 1;
    border-style: solid;
}

.btn-github {
    background-color: #24292e;
    color: #fff;
    border: 1px solid #24292e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 50px;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-github::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="white" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.btn-github i {
    display: none; /* Hide the Font Awesome icon */
}

.btn-github:hover {
    background-color: #2c3136;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    border-width: 2px;
    border-image: linear-gradient(to right, #6f42c1, #24292e, #c9510c, #6cc644);
    border-image-slice: 1;
    border-style: solid;
}

[data-theme="dark"] .btn-github {
    background-color: #333;
    color: #f1f1f1;
    border-color: #444;
}

[data-theme="dark"] .btn-github:hover {
    background-color: #3d3d3d;
    border-width: 2px;
    border-image: linear-gradient(to right, #6f42c1, #24292e, #c9510c, #6cc644);
    border-image-slice: 1;
    border-style: solid;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 0;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    box-shadow: none;
}

.btn-link:hover {
    color: var(--accent-color);
    text-decoration: none;
    background: none;
    box-shadow: none;
    transform: none;
}

/* Theme Toggle Button */
.theme-toggle-buttons {
    position: fixed;
    top: 5%;
    right: 0px;
    transform: translateY(-50%);
    z-index: 1000;
}

.theme-toggle-buttons button {
    padding: 10px;
    border: 1px solid #ff0000;
    cursor: pointer;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    background-color: #000000;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.theme-toggle-buttons button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

[data-theme="light"] .theme-toggle-buttons button {
    background-color: white;
    color: #000000;
}

/* Auth Section Styles */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-container {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--light-color);
    text-align: center;
    font-weight: 600;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-login {
    margin-bottom: 1.5rem;
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background-color: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background-color: var(--card-bg);
    padding: 0 15px;
    position: relative;
    color: var(--text-muted);
}

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

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

.input-row {
    display: flex;
    gap: 20px;
}

.input-row .input-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--light-color);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 2;
    font-size: 16px;
}

.input-with-icon input {
    line-height: normal;
}

.input-with-icon input[type="password"] {
    padding-right: 45px; /* Make room for the toggle password button */
}

/* Apply proper padding for specific fields */
.input-with-icon input:not([type="password"]) {
    padding-right: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s, background-color 0.3s;
    background-color: var(--input-bg);
    color: var(--light-color);
    line-height: normal;
    height: 50px;
    display: block;
    position: relative;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: var(--glow-effect);
}

/* Specific textarea styling */
textarea {
    min-height: 150px;
    height: auto !important;
    resize: vertical;
    font-family: 'Consolas', 'Monaco', monospace;
    padding: 14px !important; /* Override the padding from inputs */
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.toggle-password i {
    font-size: 16px;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    width: 100%;
}

.remember-me,
.terms-check {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.remember-me label {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    cursor: pointer;
    line-height: 1.2;
}

.remember-me input[type="checkbox"],
.terms-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--input-bg);
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.remember-me label,
.terms-check label {
    margin: 0;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.2;
}

.remember-me input[type="checkbox"]:checked,
.terms-check input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.remember-me input[type="checkbox"]:checked::after,
.terms-check input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    line-height: 1.2;
}

.forgot-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.terms-check a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.terms-check a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 0.8rem;
}

.strength-meter {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.strength-segment {
    height: 4px;
    flex: 1;
    background-color: var(--border-color);
    border-radius: 2px;
    transition: background-color 0.3s;
}

.strength-segment.active[data-strength="1"] {
    background-color: #ff4d4d;
}

.strength-segment.active[data-strength="2"] {
    background-color: #ffa64d;
}

.strength-segment.active[data-strength="3"] {
    background-color: #ffff4d;
}

.strength-segment.active[data-strength="4"] {
    background-color: #4dff4d;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Confirmation Styles */
.auth-confirmation {
    text-align: center;
    padding: 1rem 0;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.confirmation-icon.success {
    background-color: rgba(75, 219, 75, 0.1);
    color: #4bdb4b;
}

.auth-confirmation h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.auth-confirmation p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.confirmation-note {
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Notification Styles */
.notification {
    padding: 12px 18px;
    margin-bottom: 25px;
    border-radius: 6px;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 4px solid transparent;
    font-size: 0.9rem;
    opacity: 1;
    transform: translateY(0);
    background-color: var(--card-bg);
}

.notification.success {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background-color: rgba(255, 0, 0, 0.05);
    display: block;
}

.notification.error {
    color: #ff0000;
    border-left-color: #ff0000;
    background-color: rgba(255, 0, 0, 0.1);
    display: block;
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
}

.footer-section {
    min-width: 200px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.footer-section:nth-child(1) {
    grid-column: 1 / 2;
    justify-self: start;
    text-align: left;
}

.footer-section:nth-child(2) {
    grid-column: 2 / 3;
    justify-self: center;
    text-align: center;
    align-items: center;
}

.footer-section:nth-child(3) {
    grid-column: 3 / 4;
    justify-self: end;
    text-align: right;
    align-items: flex-end;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    grid-column: 1 / -1; 
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.footer-title {
    align-self: flex-start;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section:nth-child(2) .footer-title {
    align-self: center;
}

.footer-section:nth-child(2) .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.footer-section:nth-child(3) .footer-title {
    align-self: flex-end;
}

.footer-section:nth-child(3) .footer-title::after {
    left: auto;
    right: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section:nth-child(2) .footer-links {
    align-items: center;
}

.footer-section:nth-child(3) .footer-links {
    align-items: flex-end;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    padding: 4px 0;
    display: block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section:nth-child(3) .footer-links a:hover {
    transform: translateX(-5px);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.footer-section:nth-child(2) .social-links {
    justify-content: center;
}

.footer-section:nth-child(3) .social-links {
    justify-content: flex-end;
}

.social-links a {
    color: var(--light-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar-left, .navbar-center, .navbar-right {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .navbar-center {
        order: 2;
    }
    
    .navbar-right {
        order: 3;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section:nth-child(1),
    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        grid-column: 1;
        justify-self: center;
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-title,
    .footer-section:nth-child(3) .footer-title {
        align-self: center;
    }
    
    .footer-title::after,
    .footer-section:nth-child(3) .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    
    .footer-links,
    .footer-section:nth-child(3) .footer-links {
        align-items: center;
    }
    
    .footer-links a:hover,
    .footer-section:nth-child(3) .footer-links a:hover {
        transform: translateY(-3px);
    }
    
    .social-links,
    .footer-section:nth-child(3) .social-links {
        justify-content: center;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-container {
    animation: fadeIn 0.5s ease-out forwards;
}
