/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

/* Header */
.header {
    background-color: #4a90e2;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

/* Main Content */
.main-content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #4a90e2;
}

/* Form Styles */
.form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #4a90e2;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #357ab8;
}

/* Chart */
.chart {
    margin: 1rem 0;
    max-width: 100%;
}

/* Audio Player */
.audio-player {
    width: 100%;
    margin: 1rem 0;
}

/* Breathing Exercise */
.breathing-exercise {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-color: #e3f2fd;
    color: #4a90e2;
    font-size: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Textarea */
.textarea {
    width: 100%;
    height: 150px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Tips Section */
.tip {
    padding: 1rem;
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    border-radius: 4px;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: #4a90e2;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

/* Night Mode */
body.night-mode {
    background-color: #121212;
    color: #f4f4f9;
}

body.night-mode .header,
body.night-mode .footer {
    background-color: #1e1e1e;
}

body.night-mode .section {
    background-color: #1e1e1e;
    color: #f4f4f9;
}
/* Dropdown container */
.dropdown {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

/* Dropdown button */
.dropdown-button {
    background-color: #039be5;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Dropdown button hover effect */
.dropdown-button:hover {
    background-color: #0288d1;
}

/* Dropdown content container */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    text-align: left;
}

/* Links in the dropdown */
.dropdown-content a {
    color: #2c3e50;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    font-size: 1rem;
}

/* Link hover effect */
.dropdown-content a:hover {
    background-color: #f0f4f7;
}

/* Show dropdown content when hovered */
.dropdown:hover .dropdown-content {
    display: block;
}
