@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    background: #f4f7f8;
    color: #333;
}

.sidebar {
    width: 260px;
    height: 100vh;
    background-color: #527E85;
    color: #fff;
    position: fixed;
    padding: 20px 0;
}

.sidebar-header {
    text-align: center;
    padding: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-links {
    list-style: none;
    margin-top: 20px;
}

.nav-links li a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.nav-links i {
    width: 20px;
    margin-right: 12px;
}

.nav-links li.active a,
.nav-links li a:hover {
    background-color: rgba(255,255,255,0.12);
    color: #fff;
    border-left-color: #fff;
}

.content {
    margin-left: 260px;
    width: calc(100% - 260px);
    padding: 45px;
}

.page-header {
    margin-bottom: 24px;
    border-left: 6px solid #527E85;
    padding-left: 16px;
}

.settings-container {
    max-width: 860px;
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.settings-section {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.settings-section h3 {
    color: #527E85;
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.input-group {
    margin-bottom: 14px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.row {
    display: flex;
    gap: 14px;
}

.row .input-group {
    flex: 1;
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 999px;
}

.slider:before {
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    left: 4px;
    bottom: 4px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider {
    background-color: #527E85;
}

input:checked + .slider:before {
    transform: translateX(25px);
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.btn-save, .btn-reset {
    border: none;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.btn-save {
    background: #527E85;
    color: #fff;
}

.btn-reset {
    background: #e2e2e2;
    color: #555;
}

#settingsMessage {
    margin-top: 12px;
    font-weight: 600;
}
