/* GLOBAL */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
}

/* LEFT MENU */
#leftMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    padding: 20px;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
}

/* MENU BUTTONS */
.menu-button {
    width: 100%;
    padding: 14px;
    background: #00e5ff;
    color: #0f2027;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.menu-button:hover {
    background: #00bcd4;
}

.menu-item-btn {
    width: 100%;
    padding: 14px;
    background: #203a43;
    border: 1px solid #00e5ff;
    border-radius: 8px;
    margin-bottom: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.menu-item-btn:hover {
    background: rgba(0, 229, 255, 0.15);
}

.submenu {
    display: none;
    margin-left: 10px;
}

/* RIGHT CONTENT */
#rightContent {
    margin-left: 260px;
    height: 100vh;
    transition: margin-left 0.3s ease;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* HEADER */
.header {
    background: #203a43;
    color: #00e5ff;
    padding: 20px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: 2px solid rgba(255,255,255,0.15);
}

/* CONTAINER */
.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

/* CARD */
.card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.15);
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

/* TABLES */
.input-table,
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.input-table th {
    background: #203a43;
    color: #00e5ff;
    padding: 10px;
    text-align: left;
}

.input-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.result-table th {
    background: #2c5364;
    color: #00e5ff;
    padding: 10px;
    text-align: left;
}

/* NOTE BOX */
.note-box {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    line-height: 1.6;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #ffffff;
}

/* BUTTONS */
.btn,
button {
    background: #00e5ff;
    color: #0f2027;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover,
button:hover {
    background: #00bcd4;
}

.btn-secondary {
    background: #203a43;
    color: #00e5ff;
    padding: 10px 14px;
    border: 1px solid #00e5ff;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.15);
}

.btn-small {
    font-size: 0.85rem;
    padding: 6px 12px;
}

/* HIDDEN */
.hidden {
    display: none;
}

/* NOTE PAGE */
.note-page .note-box {
    width: 100%;
    min-height: 260px;
    height: auto;
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 16px;
}

/* MEDICAL QUESTIONS */
#medicalQuestions {
    margin-top: 15px;
    padding-left: 25px;
}

#medicalQuestions li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 1.05rem;
}

#medicalQuestions li.critical {
    color: #ff6b6b;
    font-weight: bold;
}

/* FORM FIELDS (NEW POLISHED STYLE) */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    font-size: 1rem;
    backdrop-filter: blur(6px);
}

input::placeholder,
textarea::placeholder {
    color: #cccccc;
}

/* FORM CONTAINER (FOR REGISTRATION PAGE) */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 420px;
    margin: 40px auto;
    backdrop-filter: blur(10px);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #00e5ff;
    font-weight: 600;
}