/* style.css */
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 20px;
    background: #f0f2f5;
    font-size: 14px;
    color: #333;
}

.container {
    max-width: 1250px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #005a9c;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

h2 {
    color: #005a9c;
    margin: 0;
}

.privacy-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: bold;
    color: #d9534f;
}

.section-box {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    background: #fafafa;
    display: flex;
    gap: 40px;
}

.section-title {
    font-weight: bold;
    color: #666;
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    margin-bottom: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    background: #fff;
}

th {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: left;
    font-size: 11px;
}

td {
    border: 1px solid #dee2e6;
    padding: 8px;
}

input, select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

input.invalid {
    border: 2px solid #dc3545 !important;
}

.calc-box {
    background: #eef6ff;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #bcd7f3;
    display: flex;
    gap: 5px;
}

.calc-box input {
    width: 70px;
    font-size: 11px;
}

.btn {
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.8;
}

.btn-add {
    background: #28a745;
    color: white;
}

.btn-export {
    background: #005a9c;
    color: white;
    width: 100%;
    font-size: 16px;
    margin-top: 30px;
    height: 50px;
}

.btn-import {
    background: #6f42c1;
    color: white;
}

.btn-clear {
    background: #6c757d;
    color: white;
    font-size: 12px;
}

.remove-btn {
    color: #dc3545;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

#import-file {
    display: none;
}

/* Add to style.css */
.encryption-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#encKey {
    width: 180px;
    font-size: 12px;
    padding: 6px;
    border: 1px solid #005a9c;
}

#enc-status {
    font-size: 10px;
    color: #666;
    font-style: italic;
}

.status-locked { color: #d9534f !important; font-weight: bold; }
.status-unlocked { color: #28a745 !important; }