/* Workday Settings CSS - Fase 4 */
.wdset-container {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
}

.wdset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.wdset-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Tabs */
.wdset-layout {
    display: flex;
    gap: 2rem;
}
.wdset-sidebar {
    width: 250px;
    flex-shrink: 0;
}
.wdset-menu {
    list-style: none;
    padding: 0; margin: 0;
}
.wdset-menu li {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.wdset-menu li:hover { background: var(--bg-hover); }
.wdset-menu li.active {
    background: var(--primary-color);
    color: white;
}

/* Content Area */
.wdset-content {
    flex-grow: 1;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

/* Form Groups */
.wdset-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.wdset-group:last-child {
    border-bottom: none; margin-bottom: 0; padding-bottom: 0;
}
.wdset-group h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-field label {
    font-size: 0.85rem;
    font-weight: 600;
}
.form-field input[type="text"], .form-field input[type="number"], .form-field input[type="time"], .form-field select {
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-body);
    color: var(--text-color);
}
.form-help {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Toggle Switch */
.wdset-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-body);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
.toggle-info strong { display: block; font-size: 0.95rem; }
.toggle-info span { font-size: 0.8rem; color: var(--text-muted); }

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}
.toggle-slider:before {
    position: absolute; content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .toggle-slider { background-color: var(--primary-color); }
input:checked + .toggle-slider:before { transform: translateX(20px); }


/* Table */
.wdset-table {
    width: 100%;
    border-collapse: collapse;
}
.wdset-table th, .wdset-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}
.wdset-table th {
    background: var(--bg-body);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
}
