/* General body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #F8F9F9;
    color: #2C3E50;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #2E86C1;
    color: white;
}

h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    margin: 10px 0;
    font-size: 1.2em;
    color: #AED6F1;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    position: relative;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

#menu {
    display: flex;
    list-style: none;
    padding: 0;
}

#menu li {
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
}

nav a:hover {
    background-color: #1ABC9C;
}

section {
    padding: 20px;
    margin: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #2E86C1;
    text-align: center;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

ul li:before {
    content: '';
    color: #1ABC9C;
    position: absolute;
    left: 0;
}

/* Specific selector for Key Features section */
#features ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

#features ul li::before {
    content: '✔';
    color: #1ABC9C;
    position: absolute;
    left: 0;
}

button {
    background-color: #1ABC9C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    display: block;
    margin: 10px auto;
}

button:hover {
    background-color: #16A085;
}

button.large {
    padding: 15px 30px;
    font-size: 1.2em;
}

button.small {
    padding: 5px 10px;
    font-size: 0.8em;
}

button.rounded {
    border-radius: 20px;
}

button.outline {
    background-color: transparent;
    color: #1ABC9C;
    border: 2px solid #1ABC9C;
}

button.outline:hover {
    background-color: #1ABC9C;
    color: white;
}

.bmc-button {
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-size: 1em !important;
    display: block !important;
    margin: 10px auto !important;
}

.bmc-button:hover {
    background-color: #16A085 !important;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="email"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2E86C1;
}

textarea,
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    background-color: #1ABC9C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 200px;
}

button[type="submit"]:hover {
    background-color: #16A085;
}

#subscription-response {
    text-align: center;
    margin-top: 20px;
    font-size: 1.2em;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #2E86C1;
    color: white;
    margin-top: 20px;
}

.devices {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 0px;
        left: 50%;
        right: 0;
        background: #1ABC9C;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    #menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 15px;
        left: 0;
        right: 0;
        background: #1ABC9C;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    #menu.show {
        display: flex;
    }

    #menu li {
        margin: 0;
        padding: 10px;
        border-bottom: 1px solid #ccc;
    }

    #menu li:last-child {
        border-bottom: none;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    header p {
        font-size: 1em;
    }

    h1 {
        font-size: 2em;
    }
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1em;
    min-width: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

table thead tr {
    background-color: #2E86C1;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

table th,
table td {
    padding: 12px 15px;
}

table tbody tr {
    border-bottom: 1px solid #dddddd;
}

table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

table tbody tr:last-of-type {
    border-bottom: 2px solid #2E86C1;
}

table tbody tr.active-row {
    font-weight: bold;
    color: #2E86C1;
}

th.sort-asc::after {
    content: " ▲";
}

th.sort-desc::after {
    content: " ▼";
}

.highlight-header {
    background-color: #f39c12;
    color: white;
}

.in-stock td {
    color: #155724;
}

.out-of-stock td {
    color: #d9534f;
}

tr:hover td {
    background-color: #f39c12;
    color: #fff;
}

.alarm-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #2E86C1;
}

.alarm-button:hover {
    color: #f39c12;
}
