html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-y: auto;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg 6Ni4wMTgzIDI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.toggle {
    border: 0.2rem solid white;
    border-radius: calc( 2.5rem / 2 );
    width: 4.5rem;
    height: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: transform 0.07s;
    cursor: pointer;
}

    .toggle::after {
        content: "";
        display: inline-block;
        margin: 0.2rem;
        border-radius: 50%;
        width: 1.7rem;
        height: 1.7rem;
        background: white;
        transition: transform 0.07s linear;
    }

    .toggle:checked::after {
        transform: translateX(2rem);
    }

    .toggle:hover {
        transform: scale(1.07);
    }

    .toggle:active {
        transform: scale(1.0);
    }

    .toggle:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.4);
    }

.text-muted {
    color: #adb5bd !important;
    font-size: 0.875rem;
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ========================================
   BOOKING PAGE STYLES
   ======================================== */

/* Booking Container */
.booking-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1.5rem;
    min-height: calc(100vh - 200px);
    overflow-y: visible !important;
}

.booking-header {
    text-align: center;
    margin-bottom: 2rem;
}

.booking-header h2 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.booking-header p {
    color: #666;
    font-size: 1rem;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-indicator-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-indicator-item.active .step-indicator-circle {
    background: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.step-indicator-item.completed .step-indicator-circle {
    background: #4caf50;
    color: white;
}

.step-indicator-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

.step-indicator-item.active .step-indicator-label {
    color: #667eea;
}

/* Week Calendar */
.week-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.day-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px at 50% 50%, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.day-card:hover:not(.disabled):not(.past) {
    transform: translateY(-4px);
}

.day-card:hover::before:not(.disabled):not(.past) {
    opacity: 1;
}

/* Availability Status Colors */
.day-card.high-availability {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    border-color: #4caf50;
    color: #2e7d32;
}

.day-card.high-availability:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15));
    border-color: #45a049;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.2);
}

.day-card.medium-availability {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
    border-color: #ffc107;
    color: #f57f17;
}

.day-card.medium-availability:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(255, 193, 7, 0.15));
    border-color: #ffb300;
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.2);
}

.day-card.low-availability {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(244, 67, 54, 0.05));
    border-color: #f44336;
    color: #c62828;
}

.day-card.low-availability:hover {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.25), rgba(244, 67, 54, 0.15));
    border-color: #da190b;
    box-shadow: 0 8px 24px rgba(244, 67, 54, 0.2);
}

.day-card.disabled,
.day-card.past {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #bdbdbd;
    cursor: not-allowed;
    opacity: 0.6;
}

.day-card.selected {
    transform: scale(1.05);
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.day-date {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.day-name {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.day-availability {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Navigation */
.week-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.week-navigation button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: #667eea;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.week-navigation button:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.week-navigation button:disabled {
    background: #bdbdbd;
    cursor: not-allowed;
    opacity: 0.6;
}

.week-range {
    text-align: center;
    font-weight: 600;
    color: #333;
}

/* Time Slots */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.time-slot {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: white;
    color: #333;
}

.time-slot:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.time-slot.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.time-slot.unavailable {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot-time {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: inherit;
}

.time-slot-duration {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
    color: inherit;
}

.time-slot-asset {
    font-size: 0.8rem;
    opacity: 0.85;
    color: inherit;
}

.time-slot-availability {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    opacity: 0.8;
    color: inherit;
}

.time-slot-price {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    color: inherit;
}

.time-slot-price-original {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 0.7rem;
}

.time-slot-price-discounted {
    color: #4caf50;
    font-weight: 600;
}

.time-slot.selected .time-slot-price-discounted {
    color: #a5d6a7;
}

/* Booking Summary */
.booking-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.booking-summary h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    opacity: 0.9;
}

.summary-value {
    font-weight: 600;
}

.summary-original-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.9rem;
}

.summary-discount-row {
    color: #a5d6a7;
}

.summary-final-price {
    color: #a5d6a7;
    font-size: 1.4rem;
}

/* Action Buttons */
.booking-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.booking-actions button {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back {
    background: #e9ecef;
    color: #333;
}

.btn-back:hover {
    background: #dee2e6;
    transform: translateX(-2px);
}

.btn-confirm {
    background: #4caf50;
    color: white;
    flex: 1;
    max-width: 300px;
}

.btn-confirm:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.btn-confirm:disabled {
    background: #bdbdbd;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Asset Cards */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.asset-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.asset-card:hover {
    transform: translateY(-4px);
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.asset-card h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.asset-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.asset-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.asset-card-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Asset Info Display */
.asset-info-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.asset-info-banner img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.asset-info-banner-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.asset-info-content {
    flex: 1;
    color: white;
}

.asset-info-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.asset-info-content p {
    margin: 0;
    opacity: 0.95;
    font-size: 0.95rem;
    line-height: 1.4;
}

.asset-selection-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid white;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.75rem;
    backdrop-filter: blur(10px);
}

/* Discount Badge Styles */
.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.25rem;
}

.discount-banner {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(69, 160, 73, 0.1) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.discount-banner-icon {
    font-size: 1.5rem;
}

.discount-banner-text {
    flex: 1;
}

.discount-banner-title {
    color: #2e7d32;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.discount-banner-detail {
    color: #4caf50;
    font-size: 0.85rem;
}

.price-original {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.price-discounted {
    color: #4caf50;
    font-weight: 700;
}

/* Loading & Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive - Booking */
@media (max-width: 768px) {
    .week-calendar {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 0.75rem;
    }

    .day-card {
        padding: 1rem 0.5rem;
    }

    .day-date {
        font-size: 1.2rem;
    }

    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .assets-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   DETTAGLIO STRUTTURA PAGE STYLES
   ======================================== */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --accent-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --card-bg: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    --dark-bg: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    background: var(--dark-bg);
}

/* Structure Header */
.structure-header {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 107, 91, 0.2);
}

.structure-header-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.structure-photo {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.structure-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    flex-shrink: 0;
}

.structure-info {
    flex: 1;
    color: white;
    min-width: 0;
    word-wrap: break-word;
}

.structure-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.structure-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.structure-detail i {
    font-size: 1.1rem;
    color: rgba(255, 107, 91, 0.9);
    min-width: 24px;
}

.structure-detail a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.structure-detail a:hover {
    color: #ff6b5b;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
}

.btn-telefona {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-telefona:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

.btn-naviga {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.btn-naviga:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.5);
}

.btn-favourite {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.btn-favourite:hover {
    transform: translateY(-3px);
    background: rgba(255, 193, 7, 0.3);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.btn-favourite.active {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: white;
    border-color: #ffc107;
}

.btn-favourite.active:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ffa000 100%);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 107, 91, 0.3);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.section-header i {
    font-size: 1.5rem;
    color: rgba(255, 107, 91, 0.9);
}

/* Assets Section */
.assets-section {
    margin-bottom: 3rem;
}

.asset-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 107, 91, 0.2);
    transition: all 0.3s ease;
}

.asset-card:hover {
    border-color: rgba(255, 107, 91, 0.5);
    box-shadow: 0 12px 40px rgba(255, 107, 91, 0.15);
}

.asset-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.asset-photo {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.asset-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.asset-info {
    flex: 1;
}

.asset-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.asset-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.asset-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 200, 124, 0.95);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.asset-address i {
    color: rgba(255, 200, 124, 0.9);
}

/* Activities */
.activities-container {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 107, 91, 0.2);
}

.activities-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.activities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.activity-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 107, 91, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 91, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.activity-tag:hover {
    background: rgba(255, 107, 91, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 107, 91, 0.6);
    box-shadow: 0 4px 12px rgba(255, 107, 91, 0.2);
}

.activity-tag i {
    color: rgba(255, 107, 91, 0.9);
}

.activity-tag.coming-soon {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
    cursor: default;
}

.activity-tag.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.coming-soon-badge {
    font-size: 0.7rem;
    background: rgba(255, 193, 7, 0.3);
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
    color: #ffc107;
    margin-left: 0.25rem;
}

/* Staff Section */
.staff-section {
    margin-top: 3rem;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.staff-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 107, 91, 0.2);
    transition: all 0.3s ease;
}

.staff-card:hover {
    border-color: rgba(255, 107, 91, 0.5);
    transform: translateY(-4px);
}

.staff-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    overflow: hidden;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-photo i {
    font-size: 2.5rem;
    color: white;
}

.staff-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.staff-role {
    font-size: 0.85rem;
    color: rgba(255, 107, 91, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.staff-activities {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Subscriptions Section */
.subscriptions-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.subscription-group {
    margin-bottom: 2.5rem;
}

.subscription-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.subscription-group-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.subscription-group-header i {
    font-size: 1.3rem;
    color: rgba(102, 126, 234, 0.9);
}

.subscription-group-header.activity-specific i {
    color: rgba(255, 107, 91, 0.9);
}

.subscription-group-header.activity-specific {
    border-bottom-color: rgba(255, 107, 91, 0.3);
}

.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.subscription-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.subscription-card:hover {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.subscription-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    flex: 1;
    word-wrap: break-word;
}

.subscription-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
}

.price-amount {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subscription-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.subscription-details {
    flex: 1;
    margin-bottom: 1.5rem;
}

.detail-group {
    margin-bottom: 1rem;
}

.detail-group:last-child {
    margin-bottom: 0;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.detail-icon i {
    color: rgba(102, 126, 234, 0.9);
    font-size: 1.1rem;
}

.detail-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    min-width: 85px;
}

.detail-value {
    color: rgba(255, 255, 255, 0.75);
}

.subscription-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.badge i {
    font-size: 0.9rem;
}

.badge-activity {
    background: rgba(255, 107, 91, 0.15);
    color: rgba(255, 200, 124, 0.95);
    border: 1px solid rgba(255, 107, 91, 0.3);
}

.badge-activity i {
    color: rgba(255, 107, 91, 0.9);
}

.badge-all-activities {
    background: rgba(255, 193, 7, 0.15);
    color: rgba(255, 193, 7, 0.95);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-all-activities i {
    color: rgba(255, 193, 7, 0.9);
}

.badge-asset {
    background: rgba(76, 175, 80, 0.15);
    color: rgba(165, 214, 167, 0.95);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-asset i {
    color: rgba(76, 175, 80, 0.9);
}

.badge-all-assets {
    background: rgba(102, 126, 234, 0.15);
    color: rgba(102, 126, 234, 0.95);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.badge-all-assets i {
    color: rgba(102, 126, 234, 0.9);
}

.btn-subscribe {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: auto;
}

.btn-subscribe:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-subscribe:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

/* Responsive - Dettaglio Struttura */
@media (max-width: 768px) {
    .structure-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .structure-detail {
        justify-content: center;
    }

    .action-buttons {
        justify-content: center;
    }

    .asset-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .asset-address {
        justify-content: center;
    }

    .activities-list {
        justify-content: center;
    }

    .structure-name {
        font-size: 1.6rem;
    }
}

/* ========================================
   USER SUBSCRIPTIONS STYLES
   ======================================== */

.subscription-card {
    background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}