/* Layout and container styles */
.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    padding: 30px;
}

/* Header and navigation */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.app-header h1 {
    margin: 0;
}

.nav-menu {
    display: none;
    position: relative;
}

body:has(.drops-section.active) .nav-menu,
body:has(.setup-section.active) .nav-menu {
    display: block;
}

.menu-toggle {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: auto;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle:hover .menu-icon {
    background: #764ba2;
}

.menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
}

.menu-dropdown.active {
    display: block;
}

.menu-item {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background 0.2s;
    border-radius: 0;
}

.menu-item:first-child {
    border-radius: 8px 8px 0 0;
}

.menu-item:last-child {
    border-radius: 0 0 8px 8px;
}

.menu-item:hover {
    background: #f5f5f5;
    transform: none;
    box-shadow: none;
}

.auth-section {
    display: none;
}

.auth-section.active {
    display: block;
}

.drops-section {
    display: none;
}

.drops-section.active {
    display: block;
}

.setup-section {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.setup-section.active {
    display: block;
}

.management-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.drop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.eyedrop-actions {
    display: flex;
    gap: 10px;
}

.eyedrop-info {
    flex: 1;
}