/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #e0e0e0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
}

.center-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 32px;
    max-width: 1200px;
}

.intro-section {
    max-width: 440px;
    width: 100%;
    margin: auto;
    padding: 32px;
    background: #262626;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    margin-bottom: 0;
    text-align: center;
    animation: slideUp 0.6s ease-out;
}

.intro-section h1 {
    color: #f4c542;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.intro-section p {
    color: #b3b3b3;
    font-size: 1.1rem;
    margin: 8px 0;
    font-style: italic;
    line-height: 1.5;
}

.container {
    max-width: 440px;
    width: 100%;
    margin: auto;
    padding: 32px;
    background: #262626;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    text-align: center;
    color: #f4c542;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.tagline {
    text-align: center;
    color: #b3b3b3;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInTagline 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInTagline {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #333;
    color: #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #f4c542;
    box-shadow: 0 0 0 3px rgba(244, 197, 66, 0.2);
}

/* Password Toggle Icon */
.password-wrapper {
    position: relative;
}

.password-wrapper .fas {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b3b3b3;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-wrapper .fas:hover {
    color: #f4c542;
}

input[type="password"] {
    padding-right: 48px;
}

button {
    width: 100%;
    padding: 14px;
    background: #f4c542;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
    background: #e0b33a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 197, 66, 0.3);
}

.login-button {
    background: transparent;
    border: 1px solid #f4c542;
    color: #f4c542;
    margin-top: 16px;
}

.login-button:hover {
    background: #f4c542;
    color: #1a1a1a;
}

.error {
    color: #ef5350;
    text-align: center;
    margin: 12px 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Helper Text Styles */
.helper-text {
    color: #b3b3b3;
    font-size: 0.92rem;
    margin-top: -12px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Warning Box */
.warning-box {
    color: #f4c542;
    background: #222;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 18px;
    font-size: 15px;
    text-align: center;
    border: 1px solid #f4c542;
}

/* Collapsible List Styles */
.collapsible-list {
    border: 1px solid #444;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #333;
    overflow: hidden;
}

.list-header {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #3a3a3a;
    color: #e0e0e0;
    font-weight: 500;
    transition: background-color 0.3s ease;
    user-select: none;
}

.list-header:hover {
    background: #444;
}

.list-header .arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.list-content {
    padding: 12px 16px;
    display: none;
    background: #333;
}

.list-content div {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.list-content input[type="checkbox"] {
    margin-right: 12px;
    accent-color: #f4c542;
    cursor: pointer;
}

.list-content label {
    font-size: 0.95rem;
    color: #b3b3b3;
    cursor: pointer;
    margin-bottom: 0;
}

/* Selected Items */
.selected-items {
    margin-top: 8px;
    padding: 12px;
    background: #333;
    border-radius: 8px;
    border: 1px solid #444;
    min-height: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-items span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f4c542;
    border-radius: 6px;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
}

.selected-items span.plus-sign {
    color: #f4c542;
    background: transparent;
    font-weight: 700;
    padding: 0;
}

/* Google Button Styles */
.google-button {
    width: 100%;
    margin-top: 12px;
    background: #fff;
    color: #444;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.google-button:hover {
    background: #f5f5f5;
}

.google-button img {
    height: 20px;
    vertical-align: middle;
}

/* reCAPTCHA Styles */
.recaptcha-container {
    margin: 18px 0 8px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .center-stack {
        gap: 24px;
    }
    
    .intro-section, .container {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }
    
    .intro-section, .container {
        padding: 20px;
        border-radius: 12px;
    }

    h2 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    select,
    button {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .intro-section h1 {
        font-size: 1.8rem;
    }
    
    .intro-section p {
        font-size: 1rem;
    }
}