/* Main CSS for STC Pages */

/* Custom Navbar */
.custom-navbar {
    background-color: #6c2bd9 !important;
}

.custom-navbar .navbar-brand img {
    width: 60px;
}

.custom-navbar .nav-link {
    color: white !important;
}

.custom-navbar .form-control {
    border-radius: 0;
}

.custom-navbar .btn-outline-light {
    border-radius: 0;
}

/* Carousel */
.carousel {
    border-radius: 15px;
    overflow: hidden;
}

/* Payment Form */
.payment-form {
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #b7b7b7;
    position: relative;
}

.payment-form .form-control {
    border-bottom: 1px solid #a9a9a9;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    text-align: right;
}

.payment-form .btn-danger {
    background-color: #ff375e;
    color: #fff;
}

/* Quick Pay Icon */
.quick-pay-icon {
    position: absolute;
    top: 0;
    left: 0;
    margin: 16px;
}

/* Reject Message */
.reject-message {
    display: none;
    color: red;
}

.reject-message-fixed {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 400px;
    max-width: 600px;
}



/* Test Buttons */
.test-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    padding: 10px;
    border-radius: 5px;
    color: white;
}

.test-buttons button {
    margin: 5px;
    padding: 5px 10px;
}

/* Notifications */
.notification {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.notification-header h4 {
    margin: 0;
    color: #333;
}

.notification-header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.notification-body {
    padding: 15px;
}

.notification-body p {
    margin: 0;
    color: #555;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .col-11 {
        margin: 0 auto;
    }
    
    .payment-form {
        margin: 0 10px;
    }
}

/* KNET Payment Page Styles */
#container {
    background-color: #ebebeb;
    height: 100vh;
}

#box_1 {
    background-color: #fff;
    width: 90%;
    border-radius: 20px;
    border: gray solid 2px;
    margin: auto;
    box-shadow: 0px 0px 15px #888888;
}

.btn-ss {
    background-color: #dbdbdb;
    border: gray solid 0.5px;
}

.alert-msg {
    color: #31708f;
    font-family: Arial, Helvetica, serif;
    font-size: 13px;
    text-align: justify;
    background-color: #d9edf6;
    padding: 10px;
    border: 1px solid #bacce0;
    border-radius: 4px;
    margin-bottom: 10px;
}

.merchant-info {
    font-size: 11px;
    color: #0070cd;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.merchant-value {
    font-size: 11px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.copyright {
    font-size: 10px;
    font-weight: bold;
}

.knet-info {
    color: #0077D5;
    font-size: 10px;
    font-weight: bold;
}

/* Payment Input Styles */
.payment-input {
    border-bottom: 1px solid #a9a9a9;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    text-align: right;
}

/* Card Info Styles */
.card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card-info img {
    width: 60px;
    height: auto;
}

.price {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.validity {
    font-size: 12px;
    color: #666;
}

.radio-container {
    display: flex;
    align-items: center;
}

.radio {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.radio.selected {
    border-color: #007bff;
    background-color: #007bff;
}

.radio.selected::after {
    content: '';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

.option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.option:hover {
    background-color: #f8f9fa;
} 