/* ===== FORM CONTAINER ===== */
#pmform-form {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

/* ===== TITLE ===== */
#pmform-form .title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

#pmform-form .pf-message {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

/* ===== LABELS ===== */
#pmform-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

/* Required star */
#pmform-form .required {
    color: #c0392b;
}

/* ===== INPUT FIELDS ===== */
#pmform-form input.form-control,
#pmform-form select.form-select {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    font-size: 15px;
    transition: all 0.25s ease;
    background: #fafafa;
}

/* Focus effect */
#pmform-form input:focus,
#pmform-form select:focus {
    border-color: #ab1642;
    box-shadow: 0 0 0 3px rgba(171, 22, 66, 0.1);
    background: #fff;
}

/* ===== GRID SPACING ===== */
#pmform-form .form-group {
    margin-bottom: 20px;
}

/* ===== CHECKBOXES ===== */
#pmform-form .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fafafa;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 10px;
    transition: 0.2s;
}

#pmform-form .checkbox:hover {
    border-color: #ab1642;
    background: #fff;
}

/* ===== TOTAL AMOUNT BOX ===== */
#pmform-form .input-group {
    border-radius: 10px;
    overflow: hidden;
}

#pmform-form .input-group-text {
    background: #ab1642;
    color: #fff;
    border: none;
    font-weight: 600;
}

#pmform-form #total_amount {
    background: #f4f6f8;
    font-weight: 600;
}

/* ===== BUTTON ===== */
#btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #ab1642, #d6336c);
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    color: #fff;
    transition: all 0.3s ease;
}

/* Hover effect */
#btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(171,22,66,0.3);
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    #pmform-form {
        padding: 20px;
    }

    #pmform-form .title {
        font-size: 24px;
    }
}


/* === Container Styling === */
#sp-main-body .container-inner {
    max-width: 800px;
    margin: 40px auto;
}

/* === Title === */
h1.title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

/* === Info Text === */
p.info + p {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* === Form Card === */
#adminForm {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* === Field Rows === */
#adminForm .form-row {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

#adminForm .form-row:last-child {
    border-bottom: none;
}

/* === Labels === */
#adminForm .form-control-label {
    font-weight: 600;
    color: #444;
}

/* === Values === */
#adminForm .col-md-9 {
    color: #222;
    font-weight: 500;
}

/* === Highlight Total Amount === */
#adminForm .form-row:nth-last-child(3) .col-md-9 {
    font-size: 20px;
    font-weight: 700;
    color: #ab1642;
}

/* === Payment Method === */
#adminForm .form-row:nth-last-child(2) .col-md-9 {
    font-style: italic;
    color: #777;
}

/* === Buttons Container === */
.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* === Back Button === */
.form-actions .btn-secondary {
    background: #6c757d;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.form-actions .btn-secondary:hover {
    background: #5a6268;
}

/* === Process Payment Button === */
.form-actions .btn-primary {
    background: #ab1642;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s;
}

.form-actions .btn-primary:hover {
    background: #8e1236;
}

/* === Responsive === */
@media (max-width: 768px) {
    #adminForm {
        padding: 20px;
    }

    #adminForm .form-row {
        flex-direction: column;
        text-align: left;
    }

    #adminForm .form-control-label {
        margin-bottom: 5px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}