.settings-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.settings-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

.settings-section {
    margin-bottom: 30px;
}

.settings-section h3 {
    margin-bottom: 10px;
    color: #333;
}

.settings-section ul {
    list-style: none;
    padding-left: 0;
}

.settings-section li {
    margin: 8px 0;
}

.settings-section a {
    color: #007bff;
    text-decoration: none;
}

.settings-section a:hover {
    text-decoration: underline;
}

.btn-back {
    display: inline-block;
    padding: 10px 15px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
}

.btn-back:hover {
    background: #ddd;
}

.logout-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Fondo oscuro translúcido */
    justify-content: center;
    align-items: center;
}

.logout-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
    max-width: 90%;
    width: 300px;
}

.logout-modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

.btn.confirm {
    background-color: #e74c3c;
    color: white;
}

.btn.cancel {
    background-color: #ccc;
    color: black;
}

@keyframes fadeIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.logout-container {
    text-align: center;
    margin: 40px 0;
}

.logout-trigger {
    background-color: #e74c3c;
    color: white;
    border: none;
    font-size: 20px;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logout-trigger i {
    margin-right: 8px;
}

.logout-trigger:hover {
    background-color: #c0392b;
}
.flash-messages {
  margin: 1em 0;
}

.flash {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: bold;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.premium-badge {
  font-weight: 600;
  margin-bottom: .5rem;
}
.premium-actions {
  display: flex;
  gap: .75rem;
  margin-top: .75rem;
}
.btn.primary { background: #2563eb; color: #fff; }
.btn.outline { border: 1px solid #ccc; background: transparent; }
.btn { padding: .5rem .9rem; border-radius: .5rem; display:inline-block; text-decoration:none; }

/* ===== ZONA DE PELIGRO ===== */

.danger-zone {
    margin-top: 40px;
    padding: 20px;
    border-radius: 14px;
    background: #fff4f4;
    border: 1px solid #ffd6d6;
    max-width: 500px;
}

.danger-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: #b00020;
}

.danger-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.4;
}

.danger-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #d32f2f;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.danger-btn:hover {
    background: #b71c1c;
}

.danger-btn:active {
    transform: scale(0.98);
}

.danger-warning {
    margin-top: 10px;
    font-size: 12px;
    color: #a33;
}
