/* General Styles */
#nav ul li {
    position: relative;
    /* Required for the tooltip positioning */
}

/* Services dropdown styling */
.services-dropdown {
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.9) 0%, rgba(109, 213, 250, 0.9) 100%);
    border-radius: 8px;
    padding: 1.5rem;
    min-width: 300px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.services-dropdown .dropdown-item {
    color: #fff;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.services-dropdown .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.service-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.service-description {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 2px;
}

.field {
    margin-bottom: 1.5rem;
}

.field label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.field textarea {
    resize: vertical;
}

.actions {
    text-align: right;
}

.actions .button {
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.actions .button:hover {
    background-color: #0056b3;
}

.staff-nav {
    /* background-color: #f8f9fa; */
    padding: 10px;
    justify-content: right;
}

.staff-nav ul {
    list-style-type: none;
    padding: 0;
}

.staff-nav ul li {
    display: inline;
    margin-right: 15px;
}

.staff-nav ul li a {
    text-decoration: none;
    color: #e4ecf4;
    font-size: 1em;
    font-weight: bold
}

.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* .info sections */
.info section {
    margin-bottom: 40px;
}

.info section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.info section h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.info section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Lists */
.info section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.info section ul li {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.info section ul li::before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

/* Links */
.info section a {
    color: #007bff;
    text-decoration: none;
}

.info section a:hover {
    text-decoration: underline;
}


.schadmin-branding {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.30rem 1rem;
  background: linear-gradient(135deg, #0d6efd, #084298);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
}

.schadmin-brand-link {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  text-decoration: none;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.brand-logo {
  height: 26px;
  width: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}

.zm-flag {
  height: 26px;
  width: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}

/* Hover effect */
.schadmin-brand-link:hover .brand-text {
  text-decoration: underline;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .brand-text {
    font-size: 1.1rem;
  }

  .schadmin-branding {
      padding: 0.20rem 1rem;
    }

  .brand-logo {
  height: 20px;
}

.zm-flag {
  height: 20px;
}
}


main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 100%;
    background-color: #e4dfdf;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Typography for main content */
main h1,
main h2,
main h3 {
    color: #2c3e50;
    /* Dark blue/gray for headings */
    margin-top: 0;
}

main p {
    color: #34495e;
    /* Slightly lighter gray for text */
    line-height: 1.6;
    /* Improve readability */
    margin: 10px 0;
}

main a {
    color: #f39c12;
    /* Gold for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

main a:hover {
    color: #e74c3c;
    /* Red hover effect for links */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    main {
        padding: 15px;
        margin: 10px;
    }

    main h1 {
        font-size: 1.8em;
    }

    main p {
        font-size: 1em;
    }
}


/* Heading */
h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #007bff;
}

/* Description and amount styling */
p {
    font-size: 1rem;
    margin: 8px 0;
}

.summary-header {
    font-size: 1.2rem;
    color: #007bff;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

button[type="submit"]:hover {
    background-color: #616972;
}

button[class="btn-danger"] {
    background-color: #d31919;
}

/* Responsive layout */
@media (max-width: 400px) {
    .container {
        padding: 15px;
    }
}

/* Popup styling */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
}

.popup-content h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #007bff;
}

.popup-content p {
    font-size: 1rem;
    color: #333;
}

input:valid {
    border-color: green;
    border-width: 3px;
}

input:invalid {
    border-color: red;
}


#provider-logo,
#mtn-logo,
#airtel-logo {
    width: 30px;
    height: auto;
}

#provider-text {
    font-size: 14px;
    color: #333;
}


.notice-text p {
    color: green;
    font-size: 0.9em;
    text-align: left;
}

.discount-notice p {
    color: green;
    font-size: 0.9em;
    text-align: left;
}

.limit-text p {
    color: orangered;
    font-size: 0.9em;
    text-align: left;
}

#checkbox-txt p {
    color: orangered;
    font-size: 0.9em;
    text-align: left;
}

@media (max-width: 768px) {
    .notice-text p {
        font-size: 0.73em;
    }
}

#mobile_number_lbl {
    margin-bottom: 0;
    height: 10px;
}

.back-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:disabled {
    background-color: #d6d6d6;
    /* Light gray to indicate it's disabled */
    color: #7a7a7a;
    /* Muted text color */
    border: 1px solid #c1c1c1;
    /* Subtle border to match the background */
    cursor: not-allowed;
    /* Change cursor to 'not-allowed' */
    opacity: 0.7;
    /* Slightly transparent for a disabled effect */
    box-shadow: none;
    /* Remove any shadows */
}

.verified-text {
    color: green;
    font-weight: bold;
}

.not-verified-text {
    color: red;
    font-weight: bold;
}

/* Invoice */
.receipt {
    width: 300px;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.invoice {
    width: 550px;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.header {
    text-align: center;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.header h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.header p {
    margin: 5px 0;
    font-size: 12px;
    color: #666;
}

.logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.details {
    margin-bottom: 15px;
}

.details p {
    margin: 5px 0;
    font-size: 12px;
    color: #333;
}

.details p strong {
    font-weight: bold;
}

/* align span to right */
.details p span {
    float: right;
}

.db-header {
    text-align: center;
}

.ussd-instructions {
    background-color: rgb(8, 13, 18);
    border-left: 4px solid #007bff;
    padding: 15px;
    margin: 15px 0;
}

.ussd-instructions ol {
    padding-left: 20px;
}

.ussd-instructions li {
    margin-bottom: 5px;
}

.items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}


.items td {
    padding: 8px;
    text-align: left;
    font-size: 12px;
    border-bottom: 1px dashed #ccc;
    color: #333;
}

.items th {
    background-color: #333;
    color: #fff;
}

.total {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.footer-1 {
    text-align: center;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 10px;
    color: #666;
}

/* hide ul bullets */
.footer-1 ul {
    list-style-type: none;
    padding: 0;
}

.download {
    text-align: center;
    text-decoration: none;
    background-color: grey;
    font-weight: bold;
    padding: 3px;
}

.download:hover {
    background-color: aquamarine;
}

.brand {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: xx-large;
}

/*  align total to right  */
.total {
    text-align: right;
}

/* make receipt responsive   */

@media (max-width: 600px) {
    .invoice {
        width: 100%;
        padding: 10px;
    }

    .header h2 {
        font-size: 16px;
    }

    .header p {
        font-size: 10px;
    }

    .details p {
        font-size: 10px;
    }

    .items th,
    .items td {
        padding: 5px;
        font-size: 10px;
    }

    .total {
        font-size: 12px;
    }

    .footer-1 {
        font-size: 8px;
    }
}

.statement {
    padding-left: 20px;
    background: #ffffff;
    border-radius: 8px;
}

.statement span {
    font-size: smaller;
}

.statement .revenue {
    color: orange
}

.statement .costs {
    color: red
}

.statement .balance {
    color: green
}

button.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.billing-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.billing-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.billing-card {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

.billing-card h3 {
    margin: 0;
    color: #555;
}

.billing-card p {
    margin: 5px 0 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
}

.billing-card.total-bill {
    background-color: #e6f7e6;
    border: 1px solid #28a745;
}

.billing-card.total-bill h3,
.billing-card.total-bill p {
    color: #28a745;
}

/* Error Pages */

.error-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    text-align: center;
    padding: 0 20px;
    /* Add some padding for smaller screens */
    background-color: white;
}

.error-page h1 {
    font-size: 5vw;
    /* Use viewport width for responsive font size */
    margin: 0;
}

.error-page p {
    font-size: 2vw;
    /* Use viewport width for responsive font size */
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .error-page h1 {
        font-size: 3em;
        /* Larger font size for larger screens */
    }

    .error-page p {
        font-size: 1.5em;
        /* Larger font size for larger screens */
    }
}

/* Media query for smaller screens */
@media (max-width: 767px) {
    .error-page h1 {
        font-size: 2em;
        /* Smaller font size for smaller screens */
    }

    .error-page p {
        font-size: 1.2em;
        /* Smaller font size for smaller screens */
    }
}

/* Invoice styling */
.header .company {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.header .tag-line {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 5px;
}

/* Container for form */
.form-container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

/* Form and label styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

label {
    font-weight: bold;
    color: #555;
    text-align: left;
}

/* Input and select fields */
input[type="text"],
select {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
select:focus {
    border-color: #007bff;
    outline: none;
}

/* Submit button styling */
button[type="submit"] {
    padding: 12px;
    font-size: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Disabled button */
button[class="close"] {
    padding: 12px;
    font-size: 1rem;
    background-color: #d31919;
    color: #fcfbfb;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: line-through;
}


/* General styling for responsive tables */
.table-container {
    overflow-x: auto;
    /* Enables horizontal scrolling */
    margin: 0 auto;
    /* Centers the table within its container */
}

table {
    width: 100%;
    /* Ensures the table takes up the full width of the container */
    border-collapse: collapse;
    /* Combines border spacing */
    border-spacing: 0;
    /* Removes gaps between table cells */
    margin-bottom: 1rem;
    /* Adds space below the table */
}

th,
td {
    padding: 8px 12px;
    /* Adds padding to table cells */
    text-align: left;
    /* Aligns text to the left */
    border: 1px solid #ddd;
    /* Adds a light border around cells */
    white-space: nowrap;
    /* Prevents text wrapping in cells */
}

th {
    background-color: #f4f4f4;
    /* Light background for table headers */
    font-weight: bold;
    /* Makes header text bold */
}

/* Alternate row background for better readability */
tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Add hover effect for rows */
tr:hover {
    background-color: #f1f1f1;
}

/* Responsive media query for better table adjustments */
@media (max-width: 768px) {

    th,
    td {
        font-size: 14px;
        /* Reduces font size for smaller screens */
    }
}


/* Table Styles */
.list-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Minimum width to ensure table doesn't break */
}

.list-table .status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-transform: capitalize;
}

.list-table .status.Completed {
    background-color: #28a745;
    color: #fff;
}

.list-table .status.Pending {
    background-color: #ffc107;
    color: #000;
}

.list-table .status.Failed {
    background-color: #dc3545;
    color: #fff;
}

/* No Transactions Message */
.list-table tbody tr td[colspan="5"] {
    text-align: center;
    font-style: italic;
    color: #999;
}

.list-table th,
.list-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.list-table th {
    background: #3498db;
    color: #fff;
    font-size: 16px;
}



.status {
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
}

.status.successful {
    background: #2ecc71;
}

.status.processing {
    background: #f1c40f;
}

.status.failed {
    background: #e74c3c;
}

.status.pending {
    background: #3498db;
}


.dashboard-header {
    text-align: center;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    color: #2c3e50;
    font-size: 28px;
}

.dashboard-header p {
    color: #7f8c8d;
    font-size: 16px;
}

/* Summary Section */
.dashboard-summary {
    display: flex;
    flex-wrap: wrap;
    /* Allows cards to wrap on smaller screens */
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    flex: 1;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    /* Ensures cards don’t shrink too small */
}


.summary-card .collections {
    font-size: 24px;
    color: #541fcf;
    margin-bottom: 10px;
}

.summary-card .balance {
    font-size: 24px;
    color: #2ecc71;
    margin-bottom: 10px;
}

.summary-card .credit {
    font-size: 24px;
    margin-bottom: 10px;
}

.summary-card p {
    color: #95a5a6;
    font-size: 14px;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-summary {
        justify-content: center;
        /* Centers cards on smaller screens */
    }

    .dashboard-header h1 {
        font-size: 14px;
    }

    .summary-card {
        flex: 1 1 calc(50% - 20px);
        /* Each card takes up 50% of the width minus the gap */
        max-width: calc(50% - 20px);
        /* Limits width to fit two cards per row */
    }
}

@media (max-width: 480px) {
    .summary-card {
        flex: 1 1 100%;
        /* Each card takes up the full width */
        max-width: 100%;
    }
}

/* Withdraw and Report Sections */
.dashboard-section {
    margin-bottom: 30px;
}

.dashboard-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #34495e;
}

.dashboard-section label {
    display: block;
    margin-bottom: 5px;
    color: #7f8c8d;
}

.dashboard-section input[type="number"],
.dashboard-section input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.dashboard-section button {
    background: #3498db;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Base button styles for both buttons and links */
.dashboard-actions-btns .btn,
.dashboard-actions-btns .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin: 5px;
    /* Add margin to ensure spacing */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for both elements */
.dashboard-actions-btns .btn:hover,
.dashboard-actions-btns .btn:hover {
    background-color: #2980b9;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Active state for both */
.dashboard-actions-btns .btn:active,
.dashboard-actions-btns .btn:active {
    background-color: #1c5985;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Focus state */
.dashboard-actions-btns .btn:focus,
.dashboard-actions-btns .btn:focus {
    outline: none;
    box-shadow: 0 0 4px #5dade2;
}

/* Ensure buttons stack on smaller screens */
@media (max-width: 768px) {
    .dashboard-actions-btns {
        display: flex;
        flex-direction: column;
        /* Stack buttons vertically */
        align-items: stretch;
        /* Make buttons full-width */
        gap: 10px;
        /* Add spacing between stacked buttons */
    }

    .dashboard-actions-btns .btn,
    .dashboard-actions-btns .btn {
        width: 100%;
        /* Make buttons take full width */
        text-align: center;
        /* Ensure centered text */
    }
}


.dashboard-section button:hover {
    background: #2980b9;
}

/* Footer */
.dashboard-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #7f8c8d;
}

/* Reduce action btns on small screens btn-sm */
@media (max-width: 576px) {
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.70rem;
        line-height: 1.5;
        border-radius: 0.2rem;
        margin-bottom: 3px;
    }
}

/* Style form */
.form-row {
    display: flex;
    gap: 10px;
    /* prevent horizontal scroll */
    flex-wrap: wrap;
    /* allow wrapping on smaller screens */
    margin-bottom: 15px;
    /* space between rows */
}

.form-field {
    flex: 1;
    /* Distribute space equally */
}

.form-field label {
    display: block;
    /* Ensure labels are above inputs */
}


@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}


.text-danger {
    background-color: #dd6b20;
}

/* Messages */
/* === SchAdmin Message Styling === */
.message-container {
    align-items: center;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    position: fixed; /* or absolute, relative, sticky */
    z-index: 9999; /* 
}

/* Auto-hide animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* === Preloader === */
#preloader {
    position: fixed;
    inset: 0;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.85);
    /* dark slate */
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: #facc15;
    /* yellow-400 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.preloader-text {
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: #e2e8f0;
}

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


/* === Loader Overlay === */
.loader-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.85);
    /* dark dim background */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show loader */
.loader-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Spinner */
.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: #10b981;
    /* emerald-500 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-text {
    color: #f8fafc;
    font-size: 1rem;
    opacity: 0.9;
}

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