/**
 * DogConnect - Styles pour le profil utilisateur
 * 
 * Ce fichier contient les styles spécifiques à la page de profil utilisateur :
 * - Informations personnelles
 * - Sécurité
 * - Badges
 */

/* Container principal du profil */
.profile-container {
    padding: 30px 0;
}

/* Carte de profil */
.profile-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

/* En-tête du profil */
.profile-header {
    background-color: #3498db;
    background-image: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 30px;
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.profile-avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-right: 30px;
    flex-shrink: 0;
}

.profile-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    background-color: #fff;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(52, 152, 219, 0.9);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.avatar-upload:hover {
    background-color: rgba(41, 128, 185, 1);
    transform: scale(1.1);
}

.avatar-upload label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-size: 14px;
}

.avatar-upload-text {
    display: none;
    font-size: 10px;
    margin-top: 2px;
}

/* Afficher le texte "Modifier" au survol */
.profile-avatar:hover .avatar-upload {
    width: 80px;
    height: 80px;
    bottom: 10px;
    right: 10px;
}

.profile-avatar:hover .avatar-upload-text {
    display: block;
}

.avatar-status {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: #2ecc71;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-status.show {
    opacity: 1;
}

#avatar-upload {
    display: none;
}

.profile-info {
    text-align: left;
    flex-grow: 1;
}

.profile-info h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.profile-info p {
    margin-bottom: 5px;
}

#profile-role {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

#profile-email {
    font-size: 0.9rem;
    opacity: 0.8;
}

#profile-member-since {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 5px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Navigation par onglets */
.tab-nav {
    display: flex;
    list-style: none;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-nav li {
    flex: 1;
    min-width: 120px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-nav li a {
    display: block;
    padding: 15px;
    color: #666;
    font-weight: 500;
    text-decoration: none;
}

.tab-nav li.active {
    border-bottom: 3px solid #3498db;
}

.tab-nav li.active a {
    color: #3498db;
}

.tab-nav li:hover a {
    color: #3498db;
}

/* Contenu des onglets */
.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Styles pour les sections de services et spécialités */
.form-help-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.tooltip-icon {
    font-size: 0.8rem;
    color: #3498db;
    margin-left: 5px;
    cursor: help;
}

.enhanced-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-item {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    width: calc(50% - 10px);
}

.checkbox-item:hover {
    background-color: #f0f9ff;
    border-color: #bde0ff;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-item label {
    font-weight: 500;
    cursor: pointer;
    flex-grow: 1;
}

.checkbox-group button {
    margin-top: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
}

.checkbox-group button:hover {
    background-color: #2980b9;
}

.item-description {
    color: #3498db;
    margin-left: 5px;
    cursor: help;
    font-size: 0.9rem;
}

.selection-info {
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #f0f9ff;
    border-radius: 5px;
    color: #2980b9;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    border-left: 3px solid #3498db;
}

.selection-info i {
    margin-right: 8px;
}

.empty-message {
    color: #888;
    font-style: italic;
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin: 10px 0;
}

.save-button {
    margin-top: 15px;
    transition: all 0.3s ease;
}

.save-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.success-info {
    background-color: #e6f7e9 !important;
    color: #2ecc71 !important;
    border-left: 3px solid #2ecc71 !important;
}

.error-info {
    background-color: #fde9e9 !important;
    color: #e74c3c !important;
    border-left: 3px solid #e74c3c !important;
}

/* Styles pour les tooltips personnalisés */
.custom-tooltip {
    position: absolute;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    max-width: 250px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.item-description {
    cursor: help;
    margin-left: 5px;
    color: #3498db;
}

.help-text {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    border-left: 3px solid #3498db;
    color: #555;
    line-height: 1.5;
}

/* Formulaires de profil */
.profile-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 576px) {
    .form-row {
        flex-direction: row;
    }
    
    .form-row .form-group {
        flex: 1;
    }
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="password"],
.profile-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.profile-form input[type="text"]:focus,
.profile-form input[type="email"]:focus,
.profile-form input[type="password"]:focus,
.profile-form input[type="tel"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #3498db;
}

/* Validation du mot de passe */
.password-requirements {
    margin-top: 10px;
    font-size: 0.9rem;
}

.password-check {
    margin: 5px 0;
    color: #666;
}

.password-check.valid {
    color: #27ae60;
}

.password-check.invalid {
    color: #e74c3c;
}

/* Section des badges */
.badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.badge-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #3498db;
}

.badge-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.badge-description {
    font-size: 0.8rem;
    color: #666;
}

.no-badges-message {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

/* Boutons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #3498db;
    border-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-secondary {
    color: #3498db;
    background-color: #fff;
    border-color: #3498db;
}

.btn-secondary:hover {
    background-color: #f0f9ff;
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
}

/* Styles pour les vétérinaires */

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch.small {
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch.small label:before {
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
}

.toggle-switch input:checked + label {
    background-color: #3498db;
}

.toggle-switch input:checked + label:before {
    transform: translateX(26px);
}

/* Styles améliorés pour les champs de formulaire */
.enhanced-input {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.enhanced-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.enhanced-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Zone de danger pour la suppression de compte */
.danger-zone {
    background-color: #fff8f8;
    border: 1px solid #ffebeb;
    border-left: 4px solid #e74c3c;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.danger-section-title {
    color: #e74c3c;
    margin-top: 40px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.danger-section-title:before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.warning-text {
    color: #7d7d7d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.danger-input {
    border-color: #ffebeb;
    background-color: #fffafa;
}

.danger-input:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.section-divider {
    margin: 40px 0;
    border: none;
    border-top: 1px solid #eee;
}

/* Style amélioré pour les cases à cocher */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    line-height: 1.5;
    color: #555;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #ccc;
    background-color: #f9f9f9;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.toggle-switch.small input:checked + label:before {
    transform: translateX(20px);
}

/* Checkbox group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-item {
    position: relative;
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background-color: #f0f9ff;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 8px;
}

.checkbox-item label {
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-item .tooltip {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.checkbox-item .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.checkbox-item:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Disponibilités */
.availability-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.availability-table th,
.availability-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.availability-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.availability-table tr:hover {
    background-color: #f0f9ff;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.edit-availability {
    color: #3498db;
}

.delete-availability {
    color: #e74c3c;
}

/* Modal */
.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);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

/* Styles spécifiques pour la modal d'édition d'animal */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
    color: #3498db;
}

.modal-body form {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.photo-upload-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.image-preview {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    margin-top: 5px;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .checkbox-group {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
    
    .availability-table {
        display: block;
        overflow-x: auto;
    }
}

.notification {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    animation: slideIn 0.3s ease forwards;
}

.notification-success {
    border-left: 4px solid #27ae60;
}

.notification-error {
    border-left: 4px solid #e74c3c;
}

.notification-info {
    border-left: 4px solid #3498db;
}

.notification i {
    margin-right: 10px;
    font-size: 18px;
}

.notification-success i {
    color: #27ae60;
}

.notification-error i {
    color: #e74c3c;
}

.notification-info i {
    color: #3498db;
}

.notification.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header {
        padding: 30px 20px;
    }
    
    .profile-avatar-container {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .stat-item {
        padding: 0 10px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
}

/* Styles pour la section Mes Chiens */
.dogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.image-preview {
    margin-top: 10px;
    max-width: 100%;
    max-height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 5px;
    object-fit: contain;
}

.dog-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.dog-header {
    position: relative;
    height: 160px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 160px;
}

.dog-actions {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.dog-content {
    padding: 15px;
}

.dog-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.dog-info {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.dog-info i {
    width: 20px;
    text-align: center;
    margin-right: 5px;
    color: #3498db;
}

.no-dogs-message {
    text-align: center;
    padding: 30px;
    color: #666;
}

/* Styles pour la section de suppression de compte */
.section-divider {
    margin: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.danger-section-title {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.danger-zone {
    background-color: #fff9f9;
    border: 1px solid #ffebee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.warning-text {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 20px;
}

.warning-text i {
    margin-right: 8px;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
    border: none;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* Styles pour l'onglet Premium */
.premium-status {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    flex-wrap: wrap;
}

.status-container {
    flex: 1;
    min-width: 250px;
    margin-right: 20px;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin: 10px 0;
    background: #e0e0e0;
    color: #555;
}

.status-badge.premium-active {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(246, 211, 101, 0.3);
}

.status-details {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.detail-item i {
    font-size: 24px;
    margin-right: 15px;
    color: #3498db;
}

.detail-item .fa-coins {
    color: #f1c40f;
}

.detail-item .fa-bolt {
    color: #9b59b6;
}

.detail-content {
    flex: 1;
}

.detail-content p {
    margin: 0;
    font-weight: 500;
}

.premium-options {
    margin-top: 30px;
}

.subscription-plans {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.plan {
    flex: 1;
    min-width: 250px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.plan-header {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.plan-header h4 {
    margin: 0 0 10px;
    color: #333;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #3498db;
    margin: 0;
}

.plan-discount {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 5px;
}

.plan-features {
    padding: 20px;
}

.plan-features p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.plan-features i {
    color: #2ecc71;
    margin-right: 10px;
}

.btn-premium {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2573a7 100%);
    transform: translateY(-2px);
}

.credits-section {
    margin-top: 40px;
}

.credit-packages {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.credit-package {
    flex: 1;
    min-width: 200px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.credit-package:hover {
    transform: translateY(-5px);
}

.credit-package h4 {
    margin: 0 0 10px;
    color: #333;
}

.package-price {
    font-size: 20px;
    font-weight: 700;
    color: #3498db;
    margin: 10px 0;
}

.package-bonus {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-purchase-credits {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-purchase-credits:hover {
    background: #2980b9;
}

.premium-management {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.btn-danger {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

.cancel-note {
    margin-top: 15px;
    color: #7f8c8d;
    font-size: 14px;
}
