:root {
    --primary-color: #1565c0;
    --secondary-color: #ff7043;
    --dark-color: #263238;
    --light-bg: #f5f7fa;
    --success-color: #4caf50;
    --warning-color: #ffc107;
    --danger-color: #f44336;
    --gradient-1: linear-gradient(135deg, #1565c0, #0d47a1);
    --gradient-2: linear-gradient(135deg, #ff7043, #e64a19);
    --gradient-3: linear-gradient(135deg, #6a1b9a, #4a148c);
    --gradient-header: linear-gradient(135deg, #1565c0, #0d47a1, #3e92cc);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf5 100%);
    min-height: 100vh;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Header Styles */
.navbar {
    background: var(--gradient-header);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 1px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #ffffff !important;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    height: 63px;
    margin: -2px 18px;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(10deg);
}
.logo-parent {
    position: relative;
    overflow: hidden;
    z-index: 9;
}
.logo-parent::before {
    content: "";
    position: absolute;
    top: -24%;
    right: -27%;
    width: 203%;
    height: 165%;
    background:radial-gradient(circle, rgb(40 48 255) 4%, rgb(166 106 0 / 0%) 11%);
    transform: rotate(87deg);
    z-index: -1;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 8px 15px !important;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler i {
    font-size: 1.5rem;
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 60px;
    background: linear-gradient(
        135deg,
        rgba(21, 101, 192, 0.1) 0%,
        rgba(62, 146, 204, 0.1) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100px 100px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-primary-hero {
    background: var(--gradient-1);
    color: white;
    border: none;
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(21, 101, 192, 0.3);
}

.btn-secondary-hero {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary-hero:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-text {
    color: var(--dark-color);
    margin-bottom: 0;
}

/* Main Content */
.main-container {
    padding: 100px 0 60px;
    min-height: auto;
}

.service-list-height {
    height: 100vh;
}

/* Card Styles */
.service-card,
.login-card,
.register-card,
.reset-card,
.exam-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    max-width: 900px;
}

.service-card:hover,
.login-card:hover,
.register-card:hover,
.reset-card:hover,
.exam-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-header,
.add-balance-header,
.login-header,
.register-header,
.reset-header,
.exam-header {
    background: var(--gradient-1);
    color: #30267c;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-header {
    background: var(--gradient-2);
}

.add-balance-header {
    background: var(--gradient-header);
}

.exam-header {
    background: var(--gradient-1);
}

.service-header::before,
.add-balance-header::before,
.login-header::before,
.register-header::before,
.reset-header::before,
.exam-header::before {
    content: "";
    position: absolute;
    top: -52%;
    right: -49%;
    width: 190%;
    height: 347%;
    background: radial-gradient(
        circle,
        rgb(255 255 255) 0%,
        rgba(255, 255, 255, 0) 51%
    );
    transform: rotate(56deg);
}

.service-header h3,
.add-balance-header h3,
.login-header h2,
.register-header h2,
.reset-header h2,
.exam-header h4 {
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

.register-header h3 {
    font-weight: 500;
    margin-top: 10px;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.login-header img,
.register-header img,
.reset-header img {
    height: 80px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-body,
.login-body,
.register-body,
.reset-body,
.exam-body {
    padding: 25px;
    overflow-x: auto;
}

.service-body,
.exam-body {
    /* max-height: 500px; */
    overflow-y: auto;
}

.register-card,
.reset-card {
    max-width: 600px;
    margin: 0 auto;
}

.register-body,
.reset-body {
    padding: 40px;
}

/* Form Elements */
.form-control,
.form-select,
.input-amount {
    border-radius: 15px;
    border: 2px solid #ddd;
    padding: 12px 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-control:focus,
.form-select:focus,
.input-amount:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.25);
    background-color: white;
}

/* Add Money Form */
.add-money-form {
    /* padding: 20px; */
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
}

.btn-pay {
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.btn-pay:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
}

/* Button Styles */
.btn-primary,
.btn-secondary,
.api-service-btn {
    border: none;
    border-radius: 15px;
    padding: 15px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 15px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-1);
}

.btn-secondary {
    background: var(--gradient-2);
}

.api-service-btn {
    background: var(--gradient-3);
    padding: 18px;
    margin-bottom: 25px;
}

.api-service-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-primary::before,
.btn-secondary::before,
.api-service-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before,
.btn-secondary::before,
.api-service-btn:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(21, 101, 192, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 112, 67, 0.3);
}

.api-service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 27, 154, 0.3);
}

.btn-exam {
    background: var(--gradient-2);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-exam:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 112, 67, 0.3);
    color: white;
}

.btn-submit {
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
}

.btn-generate {
    background: var(--gradient-3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-generate:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 27, 154, 0.3);
}

.btn-download {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #0d47a1;
}

.btn-check {
    background-color: var(--warning-color);
    color: #000;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-check:hover {
    background-color: #e6b800;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: space-between;
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 10px;
    border-right: 1px solid #eee;
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
}

/* Transaction and Service Table */
.transaction-table,
.service-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
}

.transaction-table th,
.transaction-table td,
.service-table th,
.service-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eeeeee;
}

.transaction-table th,
.service-table th {
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--primary-color);
    position: sticky;
    top: 0;
}

.transaction-table tr:last-child td,
.service-table tr:last-child td {
    border-bottom: none;
}

.transaction-table tr:hover,
.service-table tr:hover {
    background-color: rgba(21, 101, 192, 0.05);
}

/* Schedule Container */
.schedule-container {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.schedule-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
    border-bottom: none;
}

/* Countdown Container */
.countdown-container {
    background: var(--gradient-2);
    color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.3);
}

.countdown-timer {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 10px 0;
}

/* Data Table Container */
.data-table-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

/* Status Filter */
.status-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--gradient-3);
    color: white;
    border-radius: 8px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--primary-color);
}

tr:hover {
    background-color: rgba(21, 101, 192, 0.05);
}

.status-pending {
    color: var(--warning-color);
    font-weight: 600;
}

.status-success,
.status-live {
    color: var(--success-color);
    font-weight: 500;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: rgba(76, 175, 80, 0.1);
}

.status-failed {
    color: var(--danger-color);
    font-weight: 600;
}

.status-soon {
    color: var(--warning-color);
    font-weight: 500;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: rgba(255, 193, 7, 0.1);
}

.status-downloaded {
    color: var(--success-color);
    font-weight: 600;
}

.status-refunded {
    color: var(--danger-color);
    font-weight: 600;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
}

.price del {
    color: #9e9e9e;
    font-weight: normal;
    font-size: 0.9em;
}

.verify-btn {
    background-color: var(--warning-color);
    color: #000;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.verify-btn:hover {
    background-color: #e6b800;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.balance-container {
    display: flex;
    align-items: center;
    background: rgba(21, 101, 192, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 500;
}

.balance-amount {
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 8px;
    font-size: 1.1rem;
}

.btn-add-balance,
.btn-logout {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-add-balance {
    background: var(--gradient-1);
    color: white;
}

.btn-add-balance:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
    color: white;
}

.btn-logout {
    background: var(--danger-color);
    color: white;
}

.btn-logout:hover {
    background: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
    color: white;
}

/* Counter Container */
.counter-container {
    background: var(--gradient-3);
    color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.counter-date,
.counter-time {
    font-size: 1.2rem;
    font-weight: 600;
}

.counter-date i,
.counter-time i {
    margin-right: 8px;
}

/* Auto Refresh */
.auto-refresh {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--success-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Select Dropdown for Table Entries */
.entries-select {
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    color: var(--dark-color);
    background-color: var(--light-bg);
    margin-bottom: 15px;
    max-width: 150px;
}

.entries-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.25);
}

/* OTP Modal */
.otp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.otp-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s ease;
    position: relative;
    overflow: hidden;
}

.otp-modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.otp-modal-header {
    margin-bottom: 25px;
}

.otp-modal-header h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.otp-modal-header p {
    color: var(--dark-color);
    font-size: 0.95rem;
}

.otp-input {
    width: 100%;
    padding: 18px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    font-size: 20px;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.2);
    outline: none;
    background-color: white;
}

.otp-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.otp-buttons button {
    flex: 1;
    padding: 15px;
}

/* Loading Spinner */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.spinner {
    width: 70px;
    height: 70px;
    border: 6px solid rgba(21, 101, 192, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    margin-top: 20px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Footer */
footer {
    background: var(--gradient-header);
    color: white;
    padding: 10px 0 5px;
    margin-top: 60px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.copyright a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.copyright a:hover {
    color: var(--secondary-color);
}

.btn-register a,
.btn-reset-pin a {
    text-decoration: none;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .service-card,
    .exam-form {
        margin-top: 30px;
    }

    .main-container {
        padding: 90px 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar::before {
        right: -12%;
    }
    .navbar-brand img {
        height: 40px;
    }

    .countdown-timer {
        font-size: 1.4rem;
    }

    .transaction-table th,
    .transaction-table td,
    .service-table th,
    .service-table td,
    th,
    td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .btn-download,
    .btn-check {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .balance-container {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .btn-add-balance {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    .btn-logout {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .stats-container {
        flex-direction: column;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px 10px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .login-options,
    .register-options,
    .reset-options,
    .otp-buttons,
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .login-options button,
    .register-options button,
    .reset-options button,
    .otp-buttons button {
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .register-body,
    .reset-body {
        padding: 30px 20px;
    }

    .status-filter {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .counter-container {
        flex-direction: column;
        gap: 10px;
    }

    .entries-select {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .service-card,
    .login-card,
    .register-card,
    .reset-card,
    .exam-form,
    .countdown-container,
    .schedule-container,
    .data-table-container {
        border-radius: 15px;
    }

    .service-header,
    .add-balance-header,
    .login-header,
    .register-header,
    .reset-header,
    .exam-header {
        padding: 20px;
    }

    .service-body,
    .login-body,
    .register-body,
    .reset-body,
    .exam-body {
        padding: 20px;
    }

    .transaction-table,
    .service-table,
    table {
        font-size: 0.8rem;
    }

    .transaction-table th,
    .transaction-table td,
    .service-table th,
    .service-table td,
    th,
    td {
        padding: 8px 5px;
    }

    .otp-modal-content {
        padding: 30px 20px;
    }

    .footer-col {
        margin-bottom: 30px;
    }
}
/* whats app  */
.wtp-chat {
    position: fixed;
    bottom: 43px;
    left: 0;
    z-index: 99;
}

.wtp-chat span {
    display: block;
    position: absolute;
    margin-top: -30px;
    z-index: -1;
    background: #0e4ba5;
    padding: 4px 8px 4px 8px;
    margin-left: 15px;
    font-size: 20px;
    border-radius: 20px;
    color: white;
    width: 119px;
    animation: blink 0.5s infinite;
}

@keyframes blink {
    0% {
        color: white;
    }
    50% {
        color: #ff0000;
    }
    100% {
        color: yellow;
    }
}

.wtp-chat img {
    z-index: 999;
    width: 50px;
}
