/* ADMIN DASHBOARD STYLES */
.admin-dashboard-container {
    display: flex;
    min-height: 100vh;
    font-family: 'Muli', sans-serif;
    background: #f8f9fa;
}

.admin-sidebar {
    width: 280px;
    background: #343a40;
    padding: 20px;
    box-shadow: 3px 0 15px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.admin-main-content {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.admin-sidebar img {
    transition: transform 0.3s ease;
}

.admin-sidebar img:hover {
    transform: scale(1.03);
}

.admin-menu-title {
    color: #eea33b !important;
    font-weight: 600;
    margin: 25px 0 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(238, 163, 59, 0.2);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.admin-sidebar ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.admin-sidebar ul li {
    margin-bottom: 8px;
}

.admin-sidebar ul li a {
    color: #dee2e6;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-sidebar ul li a:before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(238, 163, 59, 0.1);
    transition: all 0.3s ease;
}

.admin-sidebar ul li a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    transform: translateX(10px);
}

.admin-sidebar ul li a:hover:before {
    left: 0;
}

.admin-sidebar ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.logout-btn {
    color: #eea33b !important;
    transition: all 0.3s ease !important;
}

.logout-btn:hover {
    color: #ffc107 !important;
    transform: rotate(180deg) !important;
}

.content-box {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-dashboard-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
    }
    
    .admin-main-content {
        padding: 20px;
    }
}


/*ADD ACTIVITY*/
/* FORM STYLES */
.admin-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-title {
    color: #343a40;
    border-left: 4px solid #eea33b;
    padding-left: 15px;
    margin: 25px 0;
    font-weight: 700;
}

.form-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.file-upload {
    position: relative;
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #eea33b;
    background: rgba(238, 163, 59, 0.03);
}

.file-upload h5 {
    color: #495057;
    margin-bottom: 10px;
    font-weight: 600;
}

.custom-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-family: 'Muli', sans-serif;
    transition: all 0.3s ease;
}

.custom-input:focus {
    border-color: #eea33b;
    box-shadow: 0 0 0 3px rgba(238, 163, 59, 0.2);
    outline: none;
}

.textarea-style {
    width: 100%;
    padding: 15px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    resize: vertical;
    min-height: 100px;
    font-family: 'Muli', sans-serif;
    transition: all 0.3s ease;
}

.option-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.option-list li {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.option-list img {
    width: 24px;
    margin-right: 15px;
    filter: invert(60%) sepia(40%) saturate(500%) hue-rotate(350deg);
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group input {
    flex: 1;
}

.price-input {
    width: 80px;
    text-align: center;
}

.form-button {
    background: #eea33b;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.form-button:hover {
    background: #d18d2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 163, 59, 0.3);
}

.price-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #eea33b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .option-list {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .price-section {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Additional Form Styles */
.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 15px;
    margin-bottom: 10px;
}

.fotorama {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.success-message {
    color: #28a745;
    padding: 10px;
    border-radius: 5px;
    background: #e9f9ef;
    margin: 15px 0;
}

.language-indicator {
    color: #eea33b;
    font-weight: 500;
    margin: 15px 0;
    padding: 10px;
    background: rgba(238, 163, 59, 0.1);
    border-radius: 5px;
}

.translation-note {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 10px 0;
    padding-left: 10px;
    border-left: 3px solid #dee2e6;
}

.translation-section {
    border: 2px solid #eea33b;
    background: rgba(238, 163, 59, 0.03);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.flag-icon {
    width: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

/*BOOKING PANEL*/

/* Tema Elegante */
.elegant-theme {
    --primary-color: #343a40;
    --secondary-color: #ffb550;
    --accent-color: #7C83FD;
    --text-color: #2B2B2B;
    --border-color: #e0e0e0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.metric-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.metric-card:hover {
    transform: translateY(-2px);
}

.metric-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metric-content i {
    font-size: 1.8rem;
    color: var(--primary-color);
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 8px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;

}

.metric-label {
    color: #666;
    font-size: 0.9rem;
}


.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.status-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-pill.confirmed {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-pill.pending {
    background: #FFF8E1;
    color: #F57F17;
}

.status-pill.cancelled {
    background: #FFEBEE;
    color: #C62828;
}

.action-menu {
    position: relative;
    display: inline-block;
}

.action-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
    min-width: 180px;
}

.action-item {
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: var(--text-color);
    transition: all 0.2s;
}

.action-item:hover {
    background: #f8f9fa;
}

.action-item i {
    width: 20px;
    text-align: center;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    margin: 0 4px;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Effetti Sottili */
.search-wrapper {
    transition: box-shadow 0.2s;
}

.search-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(47, 60, 126, 0.1);
}

/* Icone Phosphor */
@font-face {
    font-family: 'Phosphor';
    src: url('path/to/phosphor-icons.woff2') format('woff2');
}

.ph {
    font-family: 'Phosphor';
    font-style: normal;
    font-weight: 400;
}

.loading-state {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.loading-state::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2F3C7E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Controlli Ricerca/Filtri */
.filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    width: 100%;
}

.search-wrapper, 
.date-filter-wrapper {
    position: relative;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.search-wrapper i,
.date-filter-wrapper i {
    color: #666;
    margin-right: 8px;
}

.search-input, 
.date-filter {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-family: inherit;
}

.btn-refresh {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-refresh:hover {
    transform: rotate(90deg);
}

/* Metric Cards */
.metric-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 12px;
    color: white;
}

.metric-card::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 50%;
}

.metric-card.accent-purple { background: #6366F1 }
.metric-card.accent-green { background: #10B981 }
.metric-card.accent-blue { background: #3B82F6 }
.metric-card.accent-red { background: #EF4444 }
.metric-card.accent-orange { background: #F59E0B }

.metric-content i {
    font-size: 32px;
    margin-right: 15px;
    opacity: 0.9;
}

.metric-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.15));
    font-size: 0.9em;
    opacity: 0.9;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    margin-top: 10px;
}

.metric-trend.up { color: #A7F3D0 }
.metric-trend.down { color: #FECACA }

.metric-card {
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.metric-header i {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

.metric-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.metric-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    text-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.metric-sub {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Colori e Contrasto */
.accent-purple {
    background: #6366f1;
    color: #e0e7ff;
}

.accent-green {
    background: #10b981;
    color: #d1fae5;
}

.accent-blue {
    background: #3b82f6;
    color: #dbeafe;
}

.accent-red {
    background: #ef4444;
    color: #fee2e2;
}

.accent-orange {
    background: #f59e0b;
    color: #fef3c7;
}

.up {
    background: rgba(255,255,255,0.15);
    color: #86efac;
}

.down {
    background: rgba(255,255,255,0.15);
    color: #fca5a5;
}

/* Placeholder Avatar */
.user-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6366f1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Stato Pagamento */
.payment-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
}

.payment-status.paid {
    background: #d1fae5;
    color: #065f46;
}

.payment-status.unpaid {
    background: #fee2e2;
    color: #991b1b;
}

/* Allineamento Contenuti */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    font-weight: 500;
    margin-bottom: 2px;
}

.user-email {
    font-size: 0.9em;
    color: #666;
}

#paypal-button-container > div {
width: 100% !important;
}
