/* Login Page Styles */

.login {
    min-height: 100vh;
    background: #f8fafc;
    padding: 60px 0;
    position: relative;
}

.login__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.login__header {
    text-align: center;
    margin-bottom: 50px;
}

.login__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.login__subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.login__form-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.login__tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.login__tab {
    flex: 1;
    padding: 20px 30px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.login__tab:hover {
    background: #ebf8ff;
    color: #4facfe;
}

.login__tab--active {
    background: #fff;
    color: #4facfe;
    border-bottom: 3px solid #4facfe;
}

.login__tab--active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: #fff;
}

.login__tab i {
    font-size: 1.1rem;
}

.login__tab-content {
    position: relative;
}

.login__tab-pane {
    display: none;
    animation: fadeInTab 0.3s ease-in-out;
}

.login__tab-pane--active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login__form-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 40px;
    text-align: center;
    color: #fff;
}

.login__form-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.login__form-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.login__form {
    padding: 40px;
}

.login__section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.login__section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.login__section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login__section-title i {
    color: #4facfe;
    font-size: 1.2rem;
}

.login__form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.login__form-group {
    position: relative;
}

.login__form-group--full {
    grid-column: 1 / -1;
}

.login__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.login__label i {
    color: #4facfe;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.login__label--required::after {
    content: '*';
    color: #e53e3e;
    margin-left: 4px;
}

.login__input-wrapper,
.login__textarea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login__input-icon,
.login__textarea-icon {
    position: absolute;
    left: 16px;
    color: #a0aec0;
    font-size: 1rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.login__textarea-icon {
    top: 16px;
}

.login__input,
.login__select,
.login__textarea {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.login__input:focus,
.login__select:focus,
.login__textarea:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.login__input:focus + .login__input-icon,
.login__textarea:focus + .login__textarea-icon {
    color: #4facfe;
}

.login__input-wrapper:focus-within .login__input-icon,
.login__textarea-wrapper:focus-within .login__textarea-icon {
    color: #4facfe;
}

.login__textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 16px;
}

.login__file-upload {
    position: relative;
    display: block;
    width: 100%;
    padding: 20px;
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.login__file-upload:hover {
    border-color: #4facfe;
    background: #ebf8ff;
}

.login__file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.login__file-upload-icon {
    font-size: 2rem;
    color: #a0aec0;
    margin-bottom: 10px;
}

.login__file-upload-text {
    color: #4a5568;
    font-weight: 500;
}

.login__file-upload-subtext {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 5px;
}

.login__checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.login__checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.login__checkbox-label {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
    cursor: pointer;
}

.login__checkbox-label a {
    color: #4facfe;
    text-decoration: none;
}

.login__checkbox-label a:hover {
    text-decoration: underline;
}

.login__form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.login__form-links {
    margin-left: 20px;
}

.login__form-links p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a5568;
}

.login__form-links a {
    color: #4facfe;
    text-decoration: none;
    font-weight: 600;
}

.login__form-links a:hover {
    text-decoration: underline;
}

.login__btn {
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.login__btn--primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.login__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}

.login__btn--secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.login__btn--secondary:hover {
    background: #cbd5e0;
}

.login__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.login__divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.login__divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.login__divider span {
    background: #fff;
    padding: 0 20px;
    color: #a0aec0;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.login__success {
    text-align: center;
    padding: 60px 40px;
}

.login__success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #fff;
    font-size: 2rem;
}

.login__success-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.login__success-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 30px;
}

.login__benefits {
    background: #f7fafc;
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
}

.login__benefits-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 30px;
}

.login__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.login__benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.login__benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.login__benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.login__benefit-content p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login {
        padding: 30px 0;
    }
    
    .login__container {
        padding: 0 15px;
    }
    
    .login__title {
        font-size: 2rem;
    }
    
    .login__form {
        padding: 30px 25px;
    }
    
    .login__form-header {
        padding: 30px 25px;
    }
    
    .login__form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .login__steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .login__step:not(:last-child)::after {
        display: none;
    }
    
    .login__form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .login__btn {
        width: 100%;
        justify-content: center;
    }
    
    .login__benefits {
        padding: 25px;
    }
    
    .login__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .login__title {
        font-size: 1.8rem;
    }
    
    .login__form {
        padding: 20px 15px;
    }
    
    .login__form-header {
        padding: 25px 15px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

.slide-in-right {
    animation: slideInRight 0.5s ease-in-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-in-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
