/* 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;
}


/* General branding link styling */
.brand {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    /* Adjust size for branding emphasis */
    font-weight: 700;
    /* Bold branding text */
    color: #333;
    /* Neutral color for the text */
    text-decoration: none;
    /* Remove underline */
    display: inline-block;
    margin: 1rem 0;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Emphasize Lipila */
.brand span.lipila {
    color: #007bff;
    /* Use a primary color for Lipila */
    font-weight: 800;
    /* Extra bold for Lipila */
}

.brand span.welcome {
    font-weight: 200;
}

/* Emphasize client */
.brand span.client {
    color: #ff5722;
    font-weight: 900;
    /* Extra bold for client */
    text-transform: uppercase;
    /* Make client name uppercase */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    /* Subtle shadow for prominence */
}

/* Add hover effect */
.brand:hover {
    color: #007bff;
    transform: scale(1.05);
    /* Slight zoom on hover */
}


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 {
    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;
}