﻿.modal-rf-titlebar {
    display: none !important;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

    .modal-header h4 {
        color: #a11616;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .modal-header p {
        font-size: 14px;
        color: #777;
    }

.close {
    font-size: 22px;
    cursor: pointer;
    color: #999;
}


/* Left Form */
.left-section {
    flex: 0 1 400px;
    margin-right: 10px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        font-weight: 500;
        margin-bottom: 6px;
    }

        .form-group label span {
            color: red;
        }


.upload-box {
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

    .upload-box span {
        color: #a11616;
        cursor: pointer;
    }

    .upload-box small {
        display: block;
        margin-top: 8px;
        color: #999;
        font-size: 12px;
    }

    .upload-box input {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        top: 0;
        left: 0;
        cursor: pointer;
    }

/* Right Section */
.right-section {
    flex: 1 1 400px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

    .right-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
        font-weight: 600;
    }

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

    .checkbox-grid label {
        font-size: 14px;
        color: #444;
    }

    .checkbox-grid input {
        margin-right: 8px;
    }

/* Footer */


.btn-cancel {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 8px;
    cursor: pointer;
}

.btn-save {
    padding: 10px 22px;
    background: #a11616;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}


form {
    width: 100%;
}

/* =========================
                       Footer buttons
                    ========================= */
.upload-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
}

.checkbox-rf {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr)!important; */
    grid-template-columns: repeat(2, minmax(200px, 1fr)) !important;
    gap: 20px; /* optional spacing */
}