/* Authentication specific styles */

.auth-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.auth-subtitle {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-label {
    display: block;
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-label .required {
    color: #ff6b6b;
    margin-left: 3px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #3a3a52;
    border-radius: 15px;
    padding: 16px;
    font-size: 16px;
    color: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b6b;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.form-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #3a3a52;
    border-radius: 15px;
    padding: 16px;
    font-size: 16px;
    color: white;
    transition: all 0.3s ease;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select:focus {
    outline: none;
    border-color: #ff6b6b;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-select option {
    background: #1a1a2e;
    color: white;
}

.verification-code-container {
    text-align: center;
    margin: 30px 0;
}

.code-display {
    background: rgba(255, 107, 107, 0.2);
    border: 2px dashed #ff6b6b;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.code-display-title {
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.code-display-value {
    font-size: 32px;
    font-weight: 700;
    color: #ff6b6b;
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
}

.code-display-note {
    font-size: 12px;
    color: #a0a0a0;
    margin-top: 10px;
    font-style: italic;
}

.code-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.code-digit {
    width: 50px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #3a3a52;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.code-digit:focus {
    outline: none;
    border-color: #ff6b6b;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.code-digit.filled {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.code-input-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.verification-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.verification-info-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.verification-info-text {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.5;
}

.verification-info-email {
    font-weight: 600;
    color: #3b82f6;
    margin-top: 5px;
}

.resend-code {
    text-align: center;
    margin-top: 20px;
}

.resend-link {
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.resend-link:hover {
    color: #ee5a24;
    text-decoration: underline;
}

.resend-link:disabled {
    color: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.countdown {
    color: #a0a0a0;
    font-size: 12px;
    margin-top: 8px;
}

.user-info-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #a0a0a0;
    font-size: 14px;
}

.info-value {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ff6b6b;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-message {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    color: #4ade80;
    font-size: 14px;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    color: #ef4444;
    font-size: 14px;
}
