@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

/* General Header Styles */
header {
    background-color: #0460d9;
    display: flex;
    justify-content: space-between; /* Align items properly */
    align-items: center;
    padding: 10px 100px; /* Adjust padding */
    position: relative; /* For dropdown positioning */
}

/* Header Title Styles */
.header-title {
    color: #fff;
    background-color: #0460D9;
    font-size: 35px; /* Adjusted font size */
    margin: 0;
    font-weight: 700;
}

/* Navigation Styles */
.nav {
    display: flex;
    gap: 20px; /* Space between links */
}

.nav a {
    color: white; /* Link color */
    text-decoration: none; /* Remove underline */
    font-size: 22px; /* Font size for links */
}

.nav a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Dropdown Toggle Button Styles */
.dropdown-toggle {
    display: none; /* Hidden by default */
    background-color: #1A73E8; /* Button background color */
    color: white; /* Button text color */
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    top: 60px; /* Adjust based on header height */
    right: 20px; /* Align to the right */
    border-radius: 8px;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #f0f0f0;
}

/* Show dropdown menu on button click */
.show-dropdown .dropdown-menu {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav {
        display: none; /* Hide desktop navigation links */
    }

    .dropdown-toggle {
        display: block; /* Show dropdown button */
    }

    header {
        flex-direction: column; /* Stack header elements vertically */
        align-items: flex-start; /* Align items to the start */
    }
}

/* Ensure no underline on hover */
a:hover {
    text-decoration: none;
}



/* General Styles */
body {
    background-color: #e9f2ff;
    margin: 0;
    padding: 0;
    color: #333;
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 500;
    font-style: normal;
}

/* Header Styles */
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 50px;
    font-weight: 700;
    color: #1A73E8; /* Restored blue color */
}

h2 {
    text-align: center;
    color: white;
    margin-bottom: 20px;
    font-size: 35px;
    letter-spacing: 1px;
    background-color: #1A73E8; /* Restored background color */
    padding: 10px;
    border-radius: 8px;
}

h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 500;
    padding: 0 12%; /* Adjusted padding for mobile */
}

/* Form Styles */
form {
  	text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

form input[type="text"] {
    width: 100%;
    max-width: 320px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #eef2f7;
    color: #333;
}

form input[type="submit"] {
    margin-top: 10px;
    padding: 12px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #0056b3;
}

#countryCode {
  width: 80px; padding: 10px; border: 2px solid #ccc; border-radius: 8px 0 0 8px; font-size: 16px; background-color: #eef2f7; color: #333;
}



/* Info Container Styles */
.info-container {
    width: 85%;
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: none;
}

.info-container h2 {
    color: #333;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-container p {
    color: #666;
    font-size: 18px;
    margin: 10px 0;
    font-weight: 500;
}

/* Stats Section Styles */
.stats-section {
    width: 90%;
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stats-section div {
    font-size: 18px;
    font-weight: 600;
    color: #555;
}

.stats-section div span {
    display: block;
    font-size: 34px;
    color: #007bff;
}

/* Report Table Styles */
.reports-table {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.reports-table th,
.reports-table td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.reports-table th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.reports-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.reports-table tr:hover {
    background-color: #e2e6ea;
}

/* Progress Bar Styles */
.progress-bar-container {
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
    border-radius: 10px;
    overflow: hidden;
    height: 35px;
    display: none; /* Hidden by default */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
    justify-content: center;
    font-size: 14px;
    transition: width 0.4s ease-in-out;
}

.progress-bar-green {
    background-color: #28a745;
}

.progress-bar-red {
    background-color: #dc3545;
}

/* Footer Styles */
.footer { 
    bottom: 0;
    width: 100%;
    background-color: #000;
    padding: 20px;
    text-align: center;
    color: tomato;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 16px;
}

.footer-bottom a {
    color: #ffd700; /* Visible link color */
    text-decoration: none; /* No underline */
}

.footer-bottom p {
    margin: 10px 0 0;
}

/* Cookie Consent Styles */
#cookieConsentPopup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
    display: none;
    z-index: 1000;
}

#cookieConsentPopup a {
    color: #ffd700; /* Change link color */
    text-decoration: none; /* No underline */
}

#cookieConsentPopup button {
    background-color: #f4f4f4;
    color: #333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-left: 10px; /* Add margin */
}

#cookieConsentPopup button:hover {
    background-color: #ddd; /* Hover effect */
}

/* Responsive Styles */
@media (max-width: 768px) {
    form {
        width: 100%;
    }

    .reports-table {
        width: 100%;
        display: block;
        overflow-x: auto; /* Horizontal scroll */
    }

    .progress-bar-container {
        width: 100%;
    }

    .info-container {
        width: 100%;
    }

    .stats-section {
        width: 80%;
        flex-direction: column;
    }

    .stats-section div {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .reports-table th,
    .reports-table td {
        font-size: 14px;
        padding: 8px;
    }

    .info-container h2 {
        font-size: 22px;
    }

    .info-container p {
        font-size: 15px;
    }

    .stats-section div {
        font-size: 16px;
    }

    .stats-section div span {
        font-size: 28px;
    }

    h3 {
        padding: 0 5%; /* Reduced padding on mobile */
    }
}

/* No underline for anchor tags on hover */
a:hover {
    text-decoration: none;
}

#portal-e0e95f0d-17cc-4428-aae8-dd89f66bba89 {
 display: none; 
}
