/* Userdata Modals & Pages */
:root {
    --mz-one-rgb: 184, 0, 31; /* RGB values for #B8001F */
}


.ud-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
}

.ud-value {
    font-weight: 700;
    color: #212529;
    font-size: 1.2rem;
}

/* Info Box im Stil von myads-notice-box */
.ud-info-box {
    background-color: #f8f9fa; /* Sehr helles Grau */
    color: #212529; /* Sehr dunkles Grau */
    border: 1px solid #dee2e6; /* Subtiler grauer Rahmen */
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.ud-info-box.success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.ud-info-box .icon {
    vertical-align: middle;
    margin-right: 8px;
    width: 24px;
}

/* Optional: Icon in der Box hervorheben */
.ud-info-box i {
    color: #6c757d;
    margin-right: 8px;
}

.ud-form-group {
    margin-bottom: 1.5rem;
}

.ud-input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.ud-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: 1.5rem;
    gap: 10px;
}

.ud-footer.space-between {
    justify-content: space-between;
}

.ud-form-message {
    display: none;
    margin-bottom: 15px;
}

/* --- NEU: Styles für die Hauptseite /mydata --- */

.userdata-container {
    width: 100%;
    padding: 10px 0;
}

.userdata-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.userdata-item:last-child {
    border-bottom: none;
}

.userdata-item:hover {
    background-color: #f9f9f9;
}

.userdata-info {
    display: flex;
    flex-direction: column;
    padding-right: 15px;
    flex-grow: 1;
}

.userdata-title {
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 4px;
}

.userdata-desc {
    font-size: 0.85rem;
    color: #7f8c8d;
    line-height: 1.4;
}

.userdata-action {
    flex-shrink: 0;
}

.userdata-separator {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 15px 0;
}

.userdata-danger {
    background-color: #fff5f5;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.badge-green {
    background-color: var(--mz-green);
    color: white;
}

/* Warnbox im Löschen-Modal */
.delete-account-warning {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.delete-account-warning strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #842029;
}

/* Checkbox Liste (Sprachen etc.) */
.ud-check-item {
    display: flex;
    align-items: flex-start; /* Oben ausrichten, falls Text umbricht */
    margin-bottom: 1rem;
}

.ud-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0; /* Verhindert Schrumpfen */
    margin-top: 2px; /* Optische Korrektur bei flex-start */
}

.ud-check-label {
    cursor: pointer;
    font-size: 1rem; /* Kleiner */
    display: block; /* Block damit Text fließt */
    line-height: 1.4;
    margin-bottom: 0; /* Reset Bootstrap margin */
}

.ud-check-flag {
    margin-right: 10px;
}

/* Hilfsklasse für Button-Gruppen (z.B. rechtsbündig) */
.ud-footer-group {
    display: flex;
    gap: 10px;
}

.btn-confirm-email {
    margin-right: 5px;
}

/* Radio Button Style Fix (Rund statt Quadrat) */
.checkmark-round {
    border-radius: 50%;
}

/* Punkt statt Haken für Radio Buttons */
.check-container input:checked ~ .checkmark-round:after {
    /* Überschreibe den Haken (Checkbox) mit einem Punkt (Radio) */
    border: none;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentrieren und Rotation vom Haken entfernen */
}

/* Premium Profile Edit */
.current-logo-img {
    max-width: 200px;
    max-height: 150px;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
}

.preview-logo-max-height {
    max-height: 150px;
}

.status-icon-large { /* Übernommen von topads.css für konsistentes Design */
    font-size: 3rem;
    margin-bottom: 1rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.userdata-container { /* Diese Klasse existiert bereits, aber ich stelle sicher, dass sie korrekt ist */
    width: 100%;
    padding: 10px 0;
}

.mydata-div {
    margin-top: 1.5rem;
}

.mydata-item {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0;
    align-items: center;
}

.mydata-item .col-1, .mydata-item .col-2, .mydata-item .col-3 {
    flex-basis: 100%;
    padding: 5px 0;
}

@media (min-width: 800.1px) {
    .mydata-item .col-1 { flex-basis: 35%; }
    .mydata-item .col-2 { flex-basis: 50%; }
    .mydata-item .col-3 { flex-basis: 15%; text-align: right; }
}