@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

body.login-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    background-color: #f4f7f6;
}

.login-split-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1d976c 0%, #93f9b9 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: white;
    text-align: center;
}

.login-left img {
    max-width: 150px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    }
}


.login-left h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.login-left p {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 80%;
}

.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.login-card h2 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.role-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #495057;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.role-card i {
    font-size: 32px;
    margin-bottom: 10px;
}

.role-card span {
    font-weight: 600;
    font-size: 14px;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background: #fff;
    border-color: #1d976c;
    color: #1d976c;
}

.role-card.admin i,
.role-card.admin:hover {
    color: #f59e0b;
    border-color: #f59e0b;
}

.role-card.auditor i,
.role-card.auditor:hover {
    color: #6366f1;
    border-color: #6366f1;
}

.role-card.fakultas i,
.role-card.fakultas:hover {
    color: #10b981;
    border-color: #10b981;
}

.role-card.prodi i,
.role-card.prodi:hover {
    color: #0ea5e9;
    border-color: #0ea5e9;
}

.role-card.unit i,
.role-card.unit:hover {
    color: #8e44ad;
    border-color: #8e44ad;
}

/* Styles for Login Forms */
.custom-form-group {
    margin-bottom: 20px;
}

.custom-form-group label {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.custom-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9fafb;
}

.custom-input:focus {
    outline: none;
    border-color: #1d976c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 151, 108, 0.1);
}

.btn-custom-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1d976c 0%, #15805a 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1rem;
    margin-bottom: 10px;
}

.btn-custom-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(29, 151, 108, 0.3);
}

.btn-custom-secondary {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #4b5563;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-custom-secondary:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-split-container {
        flex-direction: column;
    }

    .login-left {
        display: none;
        /* Hide branding on small screens to focus on login */
    }

    .login-right {
        padding: 40px 20px;
        align-items: flex-start;
        padding-top: 10vh;
    }
}