#footer {
    position:absolute;
    bottom:0;
    width:100%;
    height:60px;   /* Height of the footer */
    background:rgba(102, 204, 255, 0.11);
    text-align: center;
    padding-top: 15px;
}

.my-table-left {
    text-align: left;
    font-size: 12px;
    padding: 5px 5px;
    font-weight: 700;
}

.my-table-right {
    width: 75%;
    font-size: 11px;
    padding: 5px 5px;
}

.my-table-right input {
    font-size: 13px;
    padding: 8px 12px;
    width: 100%;
    border: 1px solid #d1d5db; /* light grey border */
    border-radius: 8px;
    background-color: #f9fafb; /* soft light background */
    color: #374151; /* dark slate text */
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.my-table-right input:focus {
    border-color: #3b82f6; /* blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); /* soft blue glow */
}

.my-table-right input[readonly] {
    background-color: #f3f4f6; /* slightly darker bg for readonly */
    color: #6b7280; /* muted text color */
    cursor: not-allowed;
}

.footer-text {
    text-align: center;
    font-size: 12px;
    color: #727272;
}

.payment-desc {
    font-size: 12px;
    color: #1e2a38;
    background: linear-gradient(135deg, #e9f3ff, #f4faff);
    /* border: 1px solid #c5def5; */
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
    transition: all 0.3s ease;
    font-weight: 500;
}

.payment-desc:hover {
    background: linear-gradient(135deg, #d8ecff, #edf7ff);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* 🔍 Mobile responsiveness */
@media (max-width: 640px) {
    .payment-desc {
        font-size: 12px;
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    #cancelPayBtn {
        width: 100%;
        max-width: 300px;
    }
    .pay-btn {
        display: block !important;
    }

    .tnc {
        margin: 0px 2px !important;
    }
}

/* ✅ Tablet/iPad View */
@media (min-width: 641px) and (max-width: 1024px) {
    .payment-desc {
        font-size: 13px;
        padding: 12px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #cancelPayBtn {
        width: 100%;
        max-width: 320px;
    }

    .pay-btn {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .tnc {
        margin: 4px 6px !important;
        font-size: 13px;
    }
}

.pay-btn {
    display: flex;
    justify-content: center; /* centers items horizontally */
    align-items: center;     /* centers items vertically */
    gap: 1.5rem;             /* adds spacing between radio options */
    flex-wrap: wrap;         /* allows wrapping on smaller screens */
    margin-top: 1rem;
}

.paymentTable {
    width: 100%;
}

.modern-button {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

#submitPayBtn {
    width: 100%;
    max-width: 300px;
    background: linear-gradient(to right, #3b82f6, #2563eb); /* blue-500 to blue-600 */
    color: white;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

#submitPayBtn:hover:enabled {
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
}

#submitPayBtn:disabled {
    background-color: #cbd5e1;
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: none;
}

#cancelPayBtn {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

#cancelPayBtn:hover {
    background-color: #e5e7eb;
    border-color: #cbd5e1;
    color: #111827;
}
.form-label {
    font-size: 12px;
    font-weight: 600;
    color: #374151; /* Dark Slate for readability */
    margin-bottom: 2px;
    display: inline-block;
}

.form-control {
    padding: 5px 12px;
    font-size: 14px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d1d5db; /* Light gray border */
    background-color: #f9fafb; /* Subtle background */
    color: #374151;
    transition: all 0.3s ease;
}

.form-control:read-only {
    background-color: #f3f4f6; /* Slightly darker for readonly fields */
    color: #6b7280; /* Muted text */
    cursor: not-allowed;
}

.form-control:focus {
    border-color: #3b82f6; /* Blue focus */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); /* Soft blue glow */
}

#contactno-msg {
    color:#ff4d3a;
    font-size: 12px;
    font-weight: 700;
}

.success-icon {
    border: 4px solid rgb(150, 207, 150);
    border-radius: 100%;
    text-align: center;
    margin-left: auto;
    width: 100px;
    height: 100px;
    animation: popBounce 0.6s ease-out;
}

@keyframes popBounce {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
        opacity: 1;
    }
    80% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.success-badge {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
    gap: 8px;
    font-size: 40px;
    color: #548758;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
}

.success-summary {
    background-color: #d1f7e2;
    border-radius: 8px;
    padding: 5px 5px;
}

.return-library {
    background-color: #2588ca;
    color: white;
    border-radius: 9999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 136, 202, 0.2);
    transition: all 0.3s ease;
}

.return-library:hover {
    color: white;
    background-color: #1f76b3;
    box-shadow: 0 6px 14px rgba(37, 136, 202, 0.3);
    transform: translateY(-1px);
}