.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-title {
    color: #4a9eff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.privacy-description {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.privacy-forms {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.privacy-form-card {
    background: #0a2a3a;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #1a3a4a;
    position: relative;
}

.privacy-form-card.premium {
    border-color: #2a4a5a;
    box-shadow: none;
}

.premium-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #1a3a4a;
    color: #fff;
    border: 1px solid #2a4a5a;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-title {
    color: #4a9eff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.autocomplete-wrapper {
    flex: 1;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: #001927;
    border: 2px solid #1a3a4a;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #4a9eff;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
}

.autocomplete-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a2a3a;
    border: 2px solid #1a3a4a;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
}

.suggestion-item {
    padding: 12px 16px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.suggestion-item:hover {
    background: #1a3a4a;
}

.suggestion-clan {
    color: #ffd700;
    font-weight: 500;
}

.suggestion-name {
    color: #fff;
}

.suggestion-empty {
    padding: 12px 16px;
    color: #6b7280;
    font-style: italic;
}

.form-checkbox-group {
    margin-top: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
    padding: 12px 16px;
    background: rgba(74, 158, 255, 0.05);
    border: 1px solid #1a3a4a;
    border-radius: 8px;
    transition: all 0.3s;
}

.checkbox-label:hover {
    border-color: #4a9eff;
    background: rgba(74, 158, 255, 0.1);
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: #001927;
    border: 2px solid #1a3a4a;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #4a9eff;
    border-color: #4a9eff;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label span {
    flex: 1;
}

.form-button {
    padding: 12px 28px;
    background: linear-gradient(135deg, #4a9eff 0%, #0066cc 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.form-button:hover {
    background: linear-gradient(135deg, #5aa8ff 0%, #0077dd 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.form-button:disabled {
    background: #1a3a4a;
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.hidden-items-list {
    margin-top: 20px;
}

.hidden-items-header {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hidden-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #001927;
    border-radius: 6px;
    margin-bottom: 8px;
}

.hidden-item-rank-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.hidden-item-clan {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    flex-shrink: 0;
}

.hidden-item-clan:hover {
    text-decoration: underline;
}

.hidden-item-name {
    color: #4a9eff;
    font-weight: 500;
    flex: 1;
    text-decoration: none;
}

.hidden-item-name:hover {
    text-decoration: underline;
}

.hidden-item-public {
    color: #4ade80;
    font-size: 12px;
    flex-shrink: 0;
}

.hidden-item-remove {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: auto;
}

.hidden-item-remove:hover {
    background: rgba(239, 68, 68, 0.4);
}

.clans-section {
    background: #0a2a3a;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #1a3a4a;
}

.clans-section h3 {
    color: #4a9eff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.clans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top:20px;
}

.clan-badge {
    display: block;
    background: linear-gradient(135deg, #1a3a4a 0%, #0a2a3a 100%);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #2a4a5a;
    color: #ffd700;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.clan-badge:hover {
    border-color: #ffd700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.empty-clans {
    color: #6b7280;
    text-align: center;
    padding: 40px;
    font-size: 15px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #0a2a3a;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    border: 2px solid #ffd700;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-header {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.modal-body {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
    font-size: 16px;
}

.modal-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.modal-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #001927;
}

.modal-btn-primary:hover {
    background: linear-gradient(135deg, #ffe44e 0%, #fff89e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid #4ade80;
    color: #4ade80;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.alert-info {
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid #4a9eff;
    color: #4a9eff;
}

@keyframes highlightCard {
    0% { border-color: #2a4a5a; box-shadow: none; }
    20% { border-color: #fbbf24; box-shadow: 0 0 25px rgba(251, 191, 36, 0.4); }
    40% { border-color: #f59e0b; box-shadow: 0 0 35px rgba(245, 158, 11, 0.5); }
    60% { border-color: #fbbf24; box-shadow: 0 0 25px rgba(251, 191, 36, 0.4); }
    80% { border-color: #f59e0b; box-shadow: 0 0 15px rgba(245, 158, 11, 0.3); }
    100% { border-color: #2a4a5a; box-shadow: none; }
}

.privacy-form-card.highlight-attention {
    animation: highlightCard 2s ease-in-out;
}