/* Serenity Booking - Beautiful Admin Dashboard */

/* Main Container - No Horizontal Scroll */
.serenity-booking-dashboard {
    max-width: 100%;
    margin: 20px 20px 20px 0;
    padding-right: 20px;
}

/* Header */
.serenity-dashboard-header {
    margin-bottom: 30px;
}

.serenity-dashboard-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.serenity-dashboard-header .description {
    color: #64748b;
    font-size: 15px;
}

/* Grid Layout */
.serenity-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

/* Card Styling */
.serenity-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.serenity-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #3b82f6;
}

.serenity-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.serenity-card-icon {
    font-size: 32px;
    line-height: 1;
}

.serenity-card-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.serenity-card-body {
    margin-bottom: 20px;
}

.serenity-card-body p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Buttons */
.serenity-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3b82f6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.serenity-btn:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateX(2px);
}

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

/* Frontend Preview Card - Full Width */
.serenity-preview-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #ffffff;
    grid-column: 1 / -1;
}

.serenity-preview-card .serenity-card-header h2 {
    color: #ffffff;
}

.serenity-preview-card .serenity-card-body p {
    color: rgba(255, 255, 255, 0.9);
}

.serenity-preview-card .serenity-btn {
    background: #ffffff;
    color: #667eea;
}

.serenity-preview-card .serenity-btn:hover {
    background: #f8f9fa;
    color: #764ba2;
}

/* Footer Branding */
.serenity-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.serenity-branding {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
}

.serenity-branding-text {
    color: #94a3b8;
}

.serenity-branding-link {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
}

.serenity-branding-link:hover {
    opacity: 0.8;
}

.serenity-branding-tagline {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 1200px) {
    .serenity-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .serenity-preview-card {
        grid-column: 1;
    }
}

@media (max-width: 782px) {
    .serenity-card {
        padding: 20px;
    }
    
    .serenity-cards-grid {
        gap: 16px;
    }
}

/* Hide WordPress default footer on Serenity Booking pages */
.wrap.serenity-booking-dashboard #wpfooter,
.wrap.serenity-settings-wrap #wpfooter,
.wrap.serenity-holidays-wrap #wpfooter,
body.post-type-serb_holiday #wpfooter,
body.post-type-serenity_booking_service #wpfooter {
    display: none !important;
}
