:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --dark-color: #1d3557;
    --light-color: #f8f9fa;
    --shadow-intensity: 0.25;
    --border-radius-lg: 15px;
    --border-radius-md: 10px;
    --border-radius-sm: 7px;
}

* {
    font-family: "Nunito",sans-serif;
    font-size: 14px;
}

body {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(76, 201, 240, 0.05) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: white;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.logo-container {
    position: relative;
    z-index: 1;
}

.logo-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    backdrop-filter: blur(5px);
}


.logo-login{
    width: 90px !important;
    height: 60px !important;
}

.login-body {
    padding: 2.5rem;
    position: relative;
}

.login-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

/* Custom Shadows */
.shadow-unyama {
    box-shadow: 0 10px 30px rgba(0, 0, 0, calc(var(--shadow-intensity) * 0.8)) !important;
}


/* Form Styles */
.form-control-custom {
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

.input-group-text {
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    border: 1px solid #ddd;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
}

.input-group .form-control-custom {
    border-left: none;
}

.input-group .btn-outline-secondary {
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    border: 1px solid #ddd;
    border-left: none;
}

/* Button Styles */
.btn-custom {
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-custom {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary-custom:hover {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.login-btn {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
}

/* Modal Background */
#loadingModal .modal-content {
    background: transparent;
    border: none;
}

#loadingModal .modal-body {
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--border-radius-md);
    padding: 3rem;
}

/* Responsive */
@media (max-width: 576px) {
    .login-body {
        padding: 2rem 1.5rem;
    }
    
    .login-header {
        padding: 2rem 1.5rem;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
}