#disclaimer {
  font-family: Arial, sans-serif; 
  font-size: 14px; 
  color: #555; 
  background-color: #f9f9f9; 
  border-left: 4px solid #0073e6; 
  padding: 20px;
  margin: 0 auto;
  width: 100%;
  max-width: 90%;
}

/* General reset */
body, h1, label, select, table, th, td, button {
    margin: 0;
    padding: 0;
    padding-top: 1px;
    padding-bottom: 1px;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.container {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #34495e;
    color: #ffffff;
}

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

tr:hover {
    background-color: darkgrey;
}

.copy-btn, .share-btn {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.875rem;
    color: #ffffff;
    background-color: #3498db;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.copy-btn:hover, .share-btn:hover {
    background-color: #2980b9;
}

.results p {
    margin-top: 10px;
    font-style: italic;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.modal button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #3498db;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 10px;
}

.modal button:hover {
    background-color: #2980b9;
}

.close-btn {
    background-color: #e74c3c;
}

.close-btn:hover {
    background-color: #c0392b;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem; /* Smaller font for mobile */
    }

    .tabmenu {
      display: flex;
  
    }

    .container {
        padding: 15px;

    }

    label, select {
        font-size: 1rem; /* Adjust font size */
    }

    table {
        font-size: 0.875rem; /* Smaller text for table on mobile */
    }

    .modal button {
        font-size: 0.875rem; /* Adjust button font size */
    }

    .copy-btn, .share-btn {
        font-size: 0.75rem; /* Smaller buttons on mobile */
        padding: 5px 8px;
    }
}

/* Small device like iPhone SE */
@media (max-width: 375px) {
    h1 {
        font-size: 1.2rem; /* Further reduce font size */
    }

    .copy-btn, .share-btn {
        font-size: 0.75rem; /* Keep buttons smaller */
        padding: 5px 8px;
        margin-top: 1px;
        margin-bottom: 1px;
        padding-top: 1px;
        padding-bottom: 1px;

    }

    label, select {
        font-size: 0.875rem; /* Slightly smaller font for labels */
    }
}
