:root {
    --primary-color: #3BB77E;
    --primary-hover: #1eac6b;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

.login-wrapper {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    z-index: 2;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.login-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(56, 88, 233, 0.3);
}

.logo-container h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

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

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.input-group {
    position: relative;
}

.input-group-text {
    background-color: #f1f3f9;
    border: none;
    color: var(--secondary-color);
    border-top-left-radius: var(--border-radius) !important;
    border-bottom-left-radius: var(--border-radius) !important;
}

.form-control {
    height: 50px;
    border-radius: var(--border-radius);
    border: 1px solid #e1e5eb;
    padding-left: 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(56, 88, 233, 0.25);
}

.btn-eye {
    background-color: transparent;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    position: absolute;
    border: 1px solid #dddddd;
    right: 0px;
    top: 50%;
    z-index: 5;
}

.btn-eye:hover {
    color: var(--primary-color);
}

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

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

.btn-login {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px;
    width: 100%;
    font-weight: 500;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-login:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.social-login {
    margin: 30px 0;
}

.divider {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-size: 14px;
    margin: 20px 0;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e1e5eb;
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.social-buttons {
    display: flex;
    gap: 10px;
}

.btn-social {
    flex: 1;
    border-radius: var(--border-radius);
    padding: 10px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid #e1e5eb;
    background-color: white;
    color: var(--dark-color);
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-google:hover {
    background-color: #f1f3f9;
    color: #db4437;
    border-color: #db4437;
}

.btn-facebook:hover {
    background-color: #f1f3f9;
    color: #3b5998;
    border-color: #3b5998;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 88, 233, 0.1) 0%, rgba(56, 88, 233, 0.05) 100%);
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 100px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: 30%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(20px) rotate(5deg);
    }
    50% {
        transform: translateY(10px) translateX(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) translateX(-20px) rotate(3deg);
    }
}

/* Modal Customization */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--box-shadow);
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-title {
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .login-wrapper {
        padding: 30px 20px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
}