/* General Styles */
body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header .logo img {
    height: 40px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #FFA500; /* Orange */
}

header .cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

header .cta .btn-login,
header .cta .btn-signup {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

header .cta .btn-login {
    background: transparent;
    color: #FFA500; /* Orange */
    border: 1px solid #FFA500;
}

header .cta .btn-login:hover {
    background: #FFA500;
    color: #fff;
}

header .cta .btn-signup {
    background: #FFA500; /* Orange */
    color: #fff;
    border: 1px solid #FFA500;
}

header .cta .btn-signup:hover {
    background: #cc8400; /* Darker Orange */
    border-color: #cc8400;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #cc8400, #FFA500); /* Darker Orange to Orange */
    color: #fff;
    padding: 2rem 0 4rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
    text-align: center;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-content .btn-hero {
    background: #fff;
    color: #FFA500; /* Orange */
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-content .btn-hero:hover {
    background: #f0f0f0;
}

.hero-image {
    display: none; /* Hide on mobile */
}

/* Stats Section */
.stats {
    background: #f4f4f4;
    padding: 1.5rem 0 0 0; /* Adjust padding as needed */
    text-align: center;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stats .stat-item {
    flex: 1;
    min-width: 150px;
}

.stats .stat-item h2 {
    font-size: 1.5rem;
    color: #FFA500; /* Orange */
    margin-bottom: 0.5rem;
}

.stats .stat-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Download Section */
.download {
    padding: 0.5rem 0 2.5rem 0;
    background: #fff;
    text-align: center;
}

.download h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.btn-download {
    background: #FFA500; /* Orange */
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-download img {
    height: 20px;
}

.btn-download:hover {
    background: #cc8400; /* Darker Orange */
}

.recognized-heading {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trusted-logos img {
    height: 20px;
}

/* FAQ Section */
.faq {
    padding: 1rem 0 2rem 0; /* Nur unten mehr Platz (4rem), oben bleibt 0 */
    background: #f4f4f4;
}

.faq h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem; /* Optional: Abstand unter der Überschrift anpassen */
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem; /* Abstand zwischen den FAQ-Elementen */
}

.faq-item {
    background: #fff;
    padding: 1rem; /* Innenabstand für die FAQ-Elemente */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1rem;
    color: #FFA500; /* Orange */
    margin: 0;
}

.faq-question .toggle-icon {
    font-size: 1.25rem;
    font-weight: bold;
}

.faq-answer {
    display: none;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}


        /* Custom SweetAlert2 Styles */
        .swal2-popup {
            font-family: 'Roboto', sans-serif;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            animation: none !important; /* Disable default animations */
            padding: 20px; /* Add padding to the modal */
            max-width: 90%; /* Ensure the modal doesn't exceed the screen width */
            width: 400px; /* Set a fixed width for larger screens */
            overflow: hidden !important; /* Prevent scrollbars */
        }

        .swal2-container {
            overflow: hidden !important; /* Prevent scrollbars in the container */
        }

        .swal2-html-container {
            margin: 0 !important; /* Remove default margin */
            padding: 0 !important; /* Remove default padding */
            overflow: hidden !important; /* Prevent scrollbars */
        }

        .swal2-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 15px; /* Add spacing below the title */
        }

        .swal2-content {
            font-size: 1rem;
            color: #666;
            margin-bottom: 15px; /* Add spacing below the content */
        }

        .swal2-input {
            width: 80%; /* Full width within the modal */
            max-width: 100%; /* Ensure it doesn't overflow */
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            margin-bottom: 15px; /* Add spacing between inputs */
            transition: border-color 0.3s ease;
            box-sizing: border-box; /* Ensure padding is included in the width */
        }

        .swal2-input:focus {
            border-color: #FFA500;
            outline: none;
        }

        .swal2-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 15px; /* Add spacing above the buttons */
        }

        .swal2-confirm {
            background-color: #FFA500 !important;
            color: white !important;
            border: none !important;
            padding: 12px 24px !important;
            border-radius: 8px !important;
            font-size: 1rem !important;
            font-weight: 500 !important;
            transition: background-color 0.3s ease !important;
        }

        .swal2-confirm:hover {
            background-color: #cc8400 !important;
        }

        .swal2-cancel {
            background-color: #6c757d !important;
            color: white !important;
            border: none !important;
            padding: 12px 24px !important;
            border-radius: 8px !important;
            font-size: 1rem !important;
            font-weight: 500 !important;
            transition: background-color 0.3s ease !important;
        }

        .swal2-cancel:hover {
            background-color: #5a6268 !important;
        }

        /* Custom Animation for Slide-In */
        @keyframes slideIn {
            from {
                transform: translateY(-20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* Custom Animation for Slide-Out */
        @keyframes slideOut {
            from {
                transform: translateY(0);
                opacity: 1;
            }
            to {
                transform: translateY(-20px);
                opacity: 0;
            }
        }

        .swal2-show {
            animation: slideIn 0.3s ease !important; /* Force slide-in animation */
        }

        .swal2-hide {
            animation: slideOut 0.3s ease !important; /* Force slide-out animation */
        }
    

/* Start Today Section */
.start-today {
    padding: 2rem 0 3.5rem 0;
    background: #FFA500; /* Orange */
    color: #fff;
    text-align: center;
}

.start-today h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.start-today p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step-item {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-item h3 {
    font-size: 1.25rem;
    color: #FFA500; /* Orange */
    margin-bottom: 0.5rem;
}

.step-item p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.btn-step {
    background: #FFA500; /* Orange */
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-step:hover {
    background: #cc8400; /* Darker Orange */
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 2rem 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-section p,
.footer-section ul {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFA500; /* Orange */
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.8rem;
    color: #ccc;
}

/* Media Queries for Mobile */
@media (min-width: 768px) {
    .hero .container {
        flex-direction: row;
        text-align: left;
    }

    .hero-image {
        display: block; /* Show on desktop */
        flex: 1;
        text-align: right;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .download-buttons {
        flex-direction: row;
    }
}

/* Hamburger Menu Icon */
.hamburger {
    display: none; /* Hide by default on desktop */
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu Styles */
#mobile-menu {
    display: flex;
    justify-content: flex-end;
}

#mobile-menu ul {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#mobile-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

#mobile-menu ul li a:hover {
    color: #FFA500; /* Orange */
}

/* Media Query for Mobile */
@media (max-width: 767px) {
    .hamburger {
        display: block; /* Show hamburger icon on mobile */
    }

    #mobile-menu {
        display: none; /* Hide menu by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 1000;
    }

    #mobile-menu ul {
        flex-direction: column;
        align-items: center;
    }

    #mobile-menu ul li {
        margin: 0.5rem 0;
    }

    .cta {
        display: none; /* Hide CTA buttons on mobile */
    }
}

/* Login Section */
.login {
    background: linear-gradient(135deg, #cc8400, #FFA500); /* Darker Orange to Orange */
    color: #fff;
    min-height: 89vh; /* Ensure the gradient covers the full height of the viewport */
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    padding: 1rem; /* Add padding to prevent content from touching the edges */
}

.login-box {
    background: #fff;
    padding: 1.5rem; /* Reduced padding for mobile */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 90%; /* Full width on mobile with some margin */
    max-width: 400px; /* Limit maximum width */
    text-align: center;
    margin: 0 auto; /* Ensure horizontal centering */
}

.login-box h2 {
    font-size: 1.25rem; /* Smaller font size for mobile */
    color: #FFA500; /* Orange */
    margin-bottom: 1rem;
}

.login-box p {
    font-size: 0.875rem; /* Smaller font size for mobile */
    color: #666;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.875rem; /* Smaller font size for mobile */
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Ensure children stretch to fill the container */
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.875rem; /* Smaller font size for mobile */
    color: #333;
    transition: border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

.form-group input:focus {
    border-color: #FFA500; /* Orange */
    outline: none;
}

.btn-login-form {
    background: #FFA500; /* Orange */
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 0.875rem; /* Smaller font size for mobile */
    font-weight: bold;
    cursor: pointer;
    width: 100%; /* Match the width of the input field */
    transition: background 0.3s ease;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

.btn-login-form:hover {
    background: #cc8400; /* Darker Orange */
}

.forgot-password {
    font-size: 0.75rem; /* Smaller font size for mobile */
    color: #FFA500; /* Orange */
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #cc8400; /* Darker Orange */
}

.signup-link {
    font-size: 0.875rem; /* Smaller font size for mobile */
    color: #666;
    margin-top: 1rem;
}

.signup-link a {
    color: #FFA500; /* Orange */
    text-decoration: none;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #cc8400; /* Darker Orange */
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .login-box {
        padding: 1rem; /* Further reduce padding for smaller screens */
    }

    .login-box h2 {
        font-size: 1.125rem; /* Adjust font size for smaller screens */
    }

    .login-box p {
        font-size: 0.8125rem; /* Adjust font size for smaller screens */
    }

    .form-group input {
        padding: 0.625rem; /* Adjust padding for smaller screens */
    }

    .btn-login-form {
        padding: 0.625rem 1rem; /* Adjust padding for smaller screens */
    }
}

/* Sign Up Section */
.signup {
    background: linear-gradient(135deg, #cc8400, #FFA500); /* Darker Orange to Orange */
    color: #fff;
    padding: 8rem 0;
}

.signup-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.signup-image {
    flex: 1;
    text-align: center;
}

.signup-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.signup-box {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
}

.signup-box h2 {
    font-size: 1.5rem;
    color: #FFA500; /* Orange */
    margin-bottom: 1rem;
}

.signup-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #FFA500; /* Orange */
    outline: none;
}

.btn-signup-form {
    background: #FFA500; /* Orange */
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.btn-signup-form:hover {
    background: #cc8400; /* Darker Orange */
}

.login-link {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.login-link a {
    color: #FFA500; /* Orange */
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #cc8400; /* Darker Orange */
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .signup-content {
        flex-direction: column;
        text-align: center;
    }

    .signup-image {
        display: none; /* Hide image on mobile */
    }

    .signup-box {
        max-width: 100%;
    }
}

/* Dashboard Section with Curved Waves */
.dashboard {
    position: relative;
    padding: 2rem 0 150px; /* Added bottom padding for waves */
    overflow: hidden; /* Prevent overflow from waves */
}

.dashboard::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 550px; /* Height of the wave */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23D18B00' fill-opacity='1' d='M0,160L48,149.3C96,139,192,117,288,128C384,139,480,181,576,186.7C672,192,768,160,864,133.3C960,107,1056,85,1152,96C1248,107,1344,149,1392,170.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0; /* Place behind the content */
}

.dashboard .container {
    position: relative;
    z-index: 1; /* Ensure content is above the waves */
}

.dashboard h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.stat-item h2 {
    font-size: 1.5rem;
    color: #FFA500; /* Orange */
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: #666;
}

/* General Table Styling */
.table-section {
    margin-top: 2rem;
    overflow-x: auto; /* Ensures table is scrollable on small screens */
}

#devicesTable {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#devicesTable thead {
    background-color: #f8f9fa;
}

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

#devicesTable th {
    font-weight: 600;
    color: #495057;
}

#devicesTable tbody tr:hover {
    background-color: #f1f3f5;
    cursor: pointer;
}

/* Status Styling */
.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status.active {
    background-color: #d1fae5;
    color: #10b981;
}

.status.inactive {
    background-color: #fee2e2;
    color: #ef4444;
}

/* No Devices Message Styling */
#noDevicesMessage {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-size: 0.9rem;
    display: none; /* Hidden by default */
}

#noDevicesMessage a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

#noDevicesMessage a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    margin-top: 2rem;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: #FFA500;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    line-height: 1.5;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }
}

.start-today-content {
    position: relative; /* Ensure the close button is positioned relative to this container */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.close-btn:hover {
    color: #FF0000; /* Change color on hover for better UX */
}

/* News Bar */
.news-bar {
    background: linear-gradient(135deg, #FFA500, #cc8400); /* Orange gradient */
    color: #fff;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-bar a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-bar a:hover {
    color: #f0f0f0;
}

/* General Styles */
body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header .logo img {
    height: 40px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #FFA500; /* Orange */
}

header .cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

header .cta .btn-login {
    background: transparent;
    color: #FFA500; /* Orange */
    border: 1px solid #FFA500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

header .cta .btn-login:hover {
    background: #FFA500;
    color: #fff;
}

header .cta .notifications {
    cursor: pointer;
    font-size: 1.5rem;
}

/* Notifications Dropdown */
.notifications-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 1rem;
    z-index: 1000;
}

.notification-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

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

/* Payout Section */
.payout {
    position: relative;
    padding: 2rem 0 387px; /* Added bottom padding for waves */
    overflow: hidden; /* Prevent overflow from waves */
}

.payout::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 550px; /* Height of the wave */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23D18B00' fill-opacity='1' d='M0,160L48,149.3C96,139,192,117,288,128C384,139,480,181,576,186.7C672,192,768,160,864,133.3C960,107,1056,85,1152,96C1248,107,1344,149,1392,170.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0; /* Place behind the content */
}

.payout .container {
    position: relative;
    z-index: 1; /* Ensure content is above the waves */
}

.payout h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.stat-item h2 {
    font-size: 1.5rem;
    color: #FFA500; /* Orange */
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: #666;
}

.btn-payout {
    background: #FFA500; /* Orange */
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 2rem auto;
    transition: background 0.3s ease;
}

.btn-payout:hover {
    background: #cc8400; /* Darker Orange */
}

/* Transactions History */
.transactions-history {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

#transactionsTable {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    display: table;
    background-color: #ffffff;
}

#transactionsTable th, #transactionsTable td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#transactionsTable th {
    background-color: #ddd;
    font-weight: bold;
    color: #333;
}

#transactionsTable tr:nth-child(even) {
    background-color: #f2f2f2;
}

.status {
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

.status.completed {
    background-color: #d4edda;
    color: #155724;
}

.status.pending {
    background-color: #f8d7da;
    color: #721c24;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .notifications-dropdown {
        top: 50px;
        right: 10px;
    }
}
