/* Login Page Styles */
:root {
    --primary-color: #ff9800;
    --secondary-color: #2196f3;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --border-color: #ddd;
    --light-bg: #f9f9f9;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.login-page {
    padding: 60px 0;
    background-color: #f5f7fa;
    min-height: calc(100vh - 400px);
}

.auth-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

/* Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.auth-tab {
    flex: 1;
    padding: 18px 10px;
    background: none;
    border: none;
    font-size: 17px;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab.active {
    color: var(--primary-color);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.auth-tab:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.auth-tab:hover::after {
    transform: scaleX(1);
}

/* Auth Content */
.auth-content {
    padding: 30px;
}

/* User Type Selection */
.user-type-selection {
    margin-bottom: 30px;
    text-align: center;
}

.user-type-selection p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--dark-color);
}

.user-type-options {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.user-type-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 140px;
}

.user-type-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.user-type-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(255, 152, 0, 0.05);
}

.option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 152, 0, 0.1);
    border-radius: 50%;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.user-type-option:hover .option-icon,
.user-type-option.selected .option-icon {
    background-color: var(--primary-color);
}

.option-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.user-type-option:hover .option-icon i,
.user-type-option.selected .option-icon i {
    color: white;
}

.user-type-option span {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
}

/* Form Container */
.form-container {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

/* Password Input */
.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light-text);
    font-size: 18px;
    transition: color 0.3s ease;
}

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

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-left: 8px;
    width: auto;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #e08600;
    text-decoration: underline;
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: center;
}

.terms-checkbox input {
    margin-left: 8px;
    width: auto;
}

/* Button */
.auth-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.auth-btn:hover {
    background-color: #e08600;
    transform: translateY(-2px);
}

.auth-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Form Separator */
.form-separator {
    position: relative;
    margin: 25px 0;
    text-align: center;
}

.form-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.form-separator span {
    position: relative;
    padding: 0 15px;
    background-color: white;
    color: var(--light-text);
    font-size: 14px;
}

/* Social Login */
.social-login {
    margin-top: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.social-btn.google i {
    color: #DB4437;
}

.social-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Tour Leader Fields */
#leader-fields {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
    animation: fadeIn 0.5s ease-out;
}

/* Form Error */
.form-error {
    color: var(--danger-color);
    padding: 10px;
    margin-bottom: 15px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 5px;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        max-width: 100%;
        margin: 0 15px;
    }
    
    .user-type-options {
        flex-direction: column;
        align-items: center;
    }
    
    .user-type-option {
        width: 80%;
        max-width: 200px;
    }
}

/* Verification Code Section */
.verification-code-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

#verification-code {
    flex: 1;
    letter-spacing: 2px;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.resend-code-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
}

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

.resend-code-btn:disabled {
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.verification-timer {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

#timer-display {
    font-weight: 600;
    color: var(--primary-color);
}

/* Show verification success animation */
@keyframes verificationSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.verification-success {
    animation: verificationSuccess 0.5s ease;
    border-color: #4CAF50 !important;
    background-color: rgba(76, 175, 80, 0.05) !important;
} 