/* Custom Styles for Holy Teams Login Page */

/* === Background lebih modern dengan gradient dan shape === */
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Tambahkan shape dekoratif lingkaran blur */
body::before,
body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    z-index: 0;
}

body::before {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    background: #ff6ec4;
}

body::after {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    background: #7873f5;
}

/* Card login biar efek glass */
.auth-wrapper {
    max-width: 1000px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    position: relative;
    z-index: 1;
}

/* Panel kiri biar lebih hidup */
.left-panel {
    background: linear-gradient(135deg, rgba(106,17,203,0.9), rgba(37,117,252,0.9));
    position: relative;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-panel::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

/* Animasi subtle */
@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-inner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

/* Left Panel - Background Image/Gradient */
.left-panel {
    background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
    /* Modern gradient */
    position: relative;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100 100"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="50%" fx="50%" fy="50%"><stop offset="0%" style="stop-color:rgb(255,255,255);stop-opacity:0.05" /><stop offset="100%" style="stop-color:rgb(255,255,255);stop-opacity:0" /></radialGradient></defs><rect width="100" height="100" fill="url(#grad1)"/></svg>');
    background-size: cover;
    opacity: 0.2;
    /* Subtle overlay */
}

.left-panel-content {
    position: relative;
    z-index: 1;
}

.login-logo-big {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

.left-panel h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.left-panel p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Right Panel - Login Form */
.right-panel {
    background-color: #fff;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.login-logo-small {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.card-title {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
}

.card-text {
    color: #666;
    font-size: 0.95rem;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid #ddd;
    transition: all 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 0.2rem rgba(106, 17, 203, 0.25);
}

.input-group-merge .input-group-text {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-left: none;
    background-color: #f8f9fa;
    color: #999;
}

.btn-primary {
    background-color: #6a11cb;
    border-color: #6a11cb;
    border-radius: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #5a0eb5;
    border-color: #5a0eb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(106, 17, 203, 0.3);
}

.btn-outline-secondary {
    border-color: #ddd;
    color: #666;
    border-radius: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #f0f2f5;
    border-color: #ccc;
    color: #333;
}

.form-check-input:checked {
    background-color: #6a11cb;
    border-color: #6a11cb;
}

a {
    color: #6a11cb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .auth-wrapper {
        box-shadow: none;
        border-radius: 0;
    }

    .left-panel {
        display: none !important;
        /* Hide left panel on smaller screens */
        border-radius: 0;
    }

    .right-panel {
        width: 100%;
        border-radius: 0;
        padding: 2rem;
    }

    .right-panel .col-12.col-sm-8.col-md-6.col-lg-12 {
        max-width: 400px;
    }

    body {
        background-color: #fff;
        /* White background on mobile */
    }
}