/* ===== Modal Styling Modern & Elegan ===== */
.form-container {
    max-width: 750px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e5e5e5;
    padding-top: 10px;
}

.form-body {
    background: #f8f9fc;
}

/* Input & textarea */
.form-input {
    border: 1px solid #d0d0d0 !important;
    background: #ffffff;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: #0B3D91 !important;
    box-shadow: 0 0 8px rgba(11, 61, 145, 0.3) !important;
}

/* Label */
.form-label {
    font-size: 14px;
    color: #333;
}

/* Tombol ajukan */
.btn-ajukan {
    background: #0B3D91;
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-ajukan:hover {
    background: #082f73;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 61, 145, 0.25);
}

.btn-PeminjamanCariBarangPinjam {
    background: #0B3D91 !important;
    color: #fff !important;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-PeminjamanCariBarangPinjam:hover {
    background: #082f73;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 61, 145, 0.25);
}

/* Responsive */
@media (max-width: 576px) {
    .form-container {
        margin: 15px;
        padding: 5px;
    }

    .form-label {
        font-size: 13px;
    }

    .btn-ajukan {
        width: 100%;
    }
}

/* Header modal */
.modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.modal-header {
    background: #0B3D91; /* Biru gelap elegan */
    color: white;
    text-align: center;
    padding: 18px 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    width: 100%;
}

.btn-close {
    filter: brightness(0) invert(1);
}

/* Body */
.modal-body {
    background: #f8f9fc;
    padding: 22px;
}

.headerKonfirmasiPengajuan h3{
    font-size: 20px;
    font-weight: 600;
    color: #0B3D91;
    text-align: center;
}

.detail-wrapper {
    margin-top: 15px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    padding: 18px;
    background: #ffffff;
}

.detail-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.detail-item .label {
    width: 200px;
    font-weight: 600;
}

.detail-item .colon {
    width: 10px;
}

.detail-item .value {
    flex: 1;
}

.detailKonfirmasi {
    margin-top: 18px;
    font-size: 14px;
    color: #555;
    text-align: justify;
}

/* Footer */
.modal-footer {
    background: #f1f1f1;
    border-top: none;
    padding: 15px 20px;
    justify-content: space-between !important;
}

.modal-footer .btn-secondary {
    background: #6c757d;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
}

.modal-footer .btn-secondary:hover {
    background: #5a6268;
}

.modal-footer .btn-primary {
    background: #0B3D91;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
}

.modal-footer .btn-primary:hover {
    background: #082f73;
}

/* ===== Modal Terima Kasih - Style Elegan ===== */

.modal-terimakasih {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Header */
.modal-header-thanks {
    background: #0B3D91; /* Biru gelap */
    color: white;
    padding: 18px 20px;
    text-align: center;
}

.modal-header-thanks .modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-header-thanks .btn-close {
    filter: brightness(0) invert(1);
}

/* Body */
.modal-body-thanks {
    background: #f8f9fc;
    padding: 25px;
    text-align: center;
}

.thanks-icon {
    font-size: 45px;
    margin-bottom: 10px;
}

.thanks-title {
    font-size: 20px;
    font-weight: 700;
    color: #0B3D91;
    margin-bottom: 15px;
}

.thanks-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Footer */
.modal-footer-thanks {
    background: #f1f1f1;
    border-top: none;
    padding: 15px 20px;
    justify-content: space-between !important;
}

.modal-footer-thanks .btn-secondary {
    background: #6c757d;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
}

.modal-footer-thanks .btn-secondary:hover {
    background: #5a6268;
}

.modal-footer-thanks .btn-primary {
    background: #0B3D91;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
}

.modal-footer-thanks .btn-primary:hover {
    background: #082f73;
}
