/* Common styles for all pages */
.copy-icon {
    cursor: pointer;
    margin-left: 10px;
    font-size: 1.2em;
    color: #555;
    transition: color 0.3s ease;
}

.copy-icon:hover {
    color: #000;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: normal;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.main-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.content-container {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    text-align: center;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input[type="text"], 
input[type="password"], 
input[type="datetime-local"], 
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    background-color: #ffff00;
    color: #000000;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    width: 100%;
}

button:hover {
    background-color: #e6e600;
}

.record-button {
    background-color: #ff4444;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.record-button.recording {
    background-color: #cc0000;
}

.record-button:hover {
    background-color: #cc0000;
}

.secondary-button {
    background-color: #6c757d;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.secondary-button:hover {
    background-color: #5a6268;
}

/* Top navigation bar */
.topnav {
    background-color: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.topnav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 10px 15px;
}

.logo img {
    width: 250px;
    height: 100px;
    vertical-align: middle;
}

.logo-text {
    color: #333333;
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 10px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    margin: 0 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #f0f0f0;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-links a.active {
    background-color: #ffff00;
    color: #000000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-text {
    font-size: 0.9em;
    color: #ccc;
}

/* Contact page styles */
.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin: 10px 0;
}

.contact-info a {
    color: black;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Terms and conditions page styles */
.terms-content {
    text-align: justify;
}

.terms-content h2 {
    margin-top: 30px;
    color: #333;
}

.terms-content p {
    margin: 15px 0;
}

.terms-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 10px;
}
