/* V5.2 Confidentiality Engine - Professional Architectural Refit */

.privacy-settings-view {
    animation: fadeIn 0.4s ease;
    color: #1a1a1a; /* Dark text for light background */
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.privacy-section-header h3 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #111;
}

/* Warning Box */
.privacy-warning-box {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-left: 4px solid #00ffaa;
    padding: 20px;
    margin-bottom: 35px;
    border-radius: 4px;
    display: flex;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.privacy-warning-box i {
    color: #00cc88;
    font-size: 1.2rem;
}

.privacy-warning-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Option Cards */
.privacy-option-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.privacy-option-card:hover {
    border-color: #00ffaa;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.privacy-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.privacy-card-top label {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}

.opt-icon-mini {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7f4;
    color: #00cc88;
    border-radius: 8px;
    font-size: 0.9rem;
}

.privacy-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

/* Radio Selectors Styles */
.privacy-radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.privacy-radio-item input {
    position: absolute;
    opacity: 0;
}

.privacy-radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #fdfdfd;
    border: 1.5px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    text-align: center;
}

.privacy-radio-label i {
    font-size: 1.2rem;
    opacity: 0.5;
}

.privacy-radio-item input:checked + .privacy-radio-label {
    background: #f0fff9;
    border-color: #00ffaa;
    color: #008855;
}

.privacy-radio-item input:checked + .privacy-radio-label i {
    opacity: 1;
    color: #00cc88;
}

/* Industrial Toggles (Switches) */
.precision-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.precision-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #e0e0e0;
    transition: .4s;
    border-radius: 34px;
    border: 2px solid transparent;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .switch-slider {
    background-color: #00ffaa;
}

input:checked + .switch-slider:before {
    transform: translateX(24px);
}

/* Professional Input Area */
.auto-msg-textarea-wrapper {
    position: relative;
}

.auto-msg-textarea {
    width: 100%;
    min-height: 120px;
    background: #f9f9f9;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.95rem;
    color: #333;
    font-family: inherit;
    resize: none;
    transition: all 0.3s;
}

.auto-msg-textarea:focus {
    outline: none;
    border-color: #00ffaa;
    background: white;
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.1);
}

.char-counter {
    position: absolute;
    bottom: 12px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
    background: rgba(255,255,255,0.8);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Save Button */
.privacy-save-btn {
    width: 100%;
    background: #111;
    color: #00ffaa;
    border: none;
    padding: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    margin-top: 40px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.privacy-save-btn:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 255, 170, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
