﻿html, body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f8fcfe;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-title {
    color: #1062CF;
    font-size: 1.3rem;
    font-weight: bold;
}

.main-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.85);
    border-left: 5px solid #1062CF !important;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
    padding: 30px 25px;
    max-width: 400px;
    width: 100%;
    animation: fadeInUp 0.6s ease-out;
    transform-origin: center;
}

    .login-card h3 {
        background: linear-gradient(90deg, #1062CF, #0d4fb3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 24px;
        text-align: center;
    }

.form-control-sm {
    padding: 6px 10px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.uniform-btn {
    border-radius: 50px;
    font-size: 0.8rem;
    padding: 6px 14px;
    min-width: 110px;
    text-align: center;
}

.btn-outline-primary {
    border-color: #1062CF;
    color: #1062CF;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #1062CF;
        color: white;
    }

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

    .btn-outline-secondary:hover {
        background-color: #6c757d;
        color: white;
    }

.error-msg, .success-msg {
    margin-top: 10px;
    font-size: 0.85rem;
}

.error-msg {
    color: #d9534f;
}

.success-msg {
    color: #28a745;
}

footer {
    background-color: white;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        background-position: center top;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 20px 15px;
    }
}


.jconfirm.jconfirm-modern .jconfirm-box {
    background-color: #f0f9ff !important;
    color: #333;
    border: 1px solid #cfe8f1;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 123, 131, 0.2);
}

.jconfirm .jconfirm-buttons .btn-blue {
    background-color: #007b83;
    color: white;
    border: none;
    border-radius: 4px;
}

.jconfirm .jconfirm-buttons .btn-light {
    background-color: #e0f0f3;
    color: #007b83;
    border: none;
    border-radius: 4px;
}

.text-danger {
    background-color: #ffefd5;
    color: #b25c00;
    border-left: 4px solid #f0ad4e;
    padding: 8px 12px;
    margin-top: 12px;
    border-radius: 4px;
}
