﻿:root {
    --primary-blue: #3498db;
    --dark-blue: #2980b9;
    --light-blue: #5dade2;
    --gradient-start: #3498db;
    --gradient-end: #2c3e50;
    --shadow-color: rgba(52, 152, 219, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    margin-top:34px;
    width: 100%;
    max-width: 850px;
}

.auth-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.auth-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 30px;
    text-align: center;
}

.auth-body {
    padding: 40px;
    background: white;
}

.auth-logo {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

    .auth-logo span {
        color: var(--light-blue);
    }

.auth-subtitle {
    opacity: 0.9;
    margin-bottom: 0;
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #e1e5eb;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: var(--light-blue);
        box-shadow: 0 0 0 0.2rem var(--shadow-color);
    }

.auth-btn {
    background: linear-gradient(to right, var(--light-blue), var(--primary-blue));
    border: none;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

    .auth-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px var(--shadow-color);
    }

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #e1e5eb;
    }

.divider-text {
    padding: 0 15px;
    color: #6c757d;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e5eb;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .social-btn.facebook:hover {
        background: #3b5998;
        color: white;
        border-color: #3b5998;
    }

    .social-btn.google:hover {
        background: #dd4b39;
        color: white;
        border-color: #dd4b39;
    }

    .social-btn.twitter:hover {
        background: #1da1f2;
        color: white;
        border-color: #1da1f2;
    }

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

    .auth-link:hover {
        color: var(--dark-blue);
        text-decoration: underline;
    }

.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.password-container {
    position: relative;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.terms-text {
    font-size: 0.9rem;
    color: #6c757d;
}

.auth-tabs {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.auth-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    background: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
}

    .auth-tab.active {
        background: linear-gradient(to right, var(--light-blue), var(--primary-blue));
        color: white;
    }

    .auth-tab:not(.active) {
        color: #6c757d;
    }

        .auth-tab:not(.active):hover {
            background: #f8f9fa;
        }

.form-container {
    display: none;
}

    .form-container.active {
        display: block;
    }

@media (max-width: 576px) {
    .auth-body {
        padding: 30px 25px;
    }

    .auth-header {
        padding: 25px;
    }
}
