﻿body {
    background-color: #f5f5f5;
    font-family: Arial;
}

.panel-box {
    background: #ffffff;
    padding: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #cccccc;
}

.page-heading {
    font-size: 26px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 25px;
}

.section-heading {
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 18px;
    font-weight: 600;
    border-left: 5px solid #003366;
    margin-top: 25px;
    margin-bottom: 20px;
    color: #333333;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    border-radius: 4px;
    box-shadow: none;
    height: 38px;
}

textarea.form-control {
    height: auto;
}

label {
    font-weight: 600;
    margin-bottom: 5px;
}

.mandatory {
    color: red;
    font-weight: bold;
}

.note-text {
    font-size: 13px;
    color: #666666;
    font-style: italic;
    margin-top: 10px;
}

.btn-custom {
    min-width: 150px;
    height: 40px;
    font-size: 15px;
    font-weight: 600;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.required-note {
    color: red;
    font-size: 12px;
}

.grid-header {
    background-color: #003366;
    color: white;
    font-weight: bold;
}

.history-box {
    background-color: #fafafa;
    border: 1px solid #dddddd;
    padding: 15px;
    margin-top: 15px;
}
.success-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.70);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.success-popup {
    width: 95%;
    max-width: 650px;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
    animation: popupAnimation .3s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: #28a745;
    color: white;
    font-size: 45px;
    line-height: 80px;
    text-align: center;
}

.success-popup h2 {
    text-align: center;
    color: #28a745;
    margin-top: 15px;
}

.success-popup p {
    text-align: center;
    color: #555;
}

.details-box {
    margin-top: 25px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .detail-row:last-child {
        border-bottom: none;
    }

.popup-close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: none;
    background: none;
    font-size: 32px;
    cursor: pointer;
    color: #999;
}

.btn-print {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
}

.popup-buttons {
    text-align: center;
    margin-top: 25px;
}

@keyframes popupAnimation {
    from {
        opacity: 0;
        transform: scale(.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.70);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.success-popup {
    margin: auto;
}



