:root {
    --background: #121212;
    --surface: #1e1e1e;
    --primary: #bb86fc;
    --secondary: #03dac6;
    --on-background: #e0e0e0;
    --on-surface: #ffffff;
    --border-color: #2c2c2c;
    --danger: #cf6679;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: var(--background);
    color: var(--on-background);
    margin: 0;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.card {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

h2, h3 {
    color: var(--on-surface);
    margin-top: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: var(--primary);
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #a764e8;
}

.button-danger {
    background-color: var(--danger);
    color: #000;
}

.button-danger:hover {
    background-color: #b85667;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--on-background);
    box-sizing: border-box;
}

.document-list {
    list-style: none;
    padding: 0;
}

.document-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.document-list li:last-child {
    border-bottom: none;
}

.document-name {
    font-weight: 500;
}

.document-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--secondary);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.link-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.link-list li:last-child {
    border-bottom: none;
}

.link-info {
    word-break: break-all;
}

.link-list img {
    max-width: 60px;
    border-radius: 4px;
}

.status-active {
    color: var(--secondary);
    font-weight: 500;
}

.status-expired {
    color: var(--danger);
    font-weight: 500;
}

.status-pending {
    color: #aaa;
    font-weight: 500;
}
