/* Praxis Blocks - Frontend Styles */

/* Notification Banner */
.praxis-notification-banner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    background: var(--wp--preset--color--primary, #68a8de);
    color: var(--wp--preset--color--white, #ffffff);
    padding: 1rem 2rem;
    max-width: 100% !important; 
    width: 100% !important;
}

.notification-slide {
    display: none;
    width: 100%;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
}

.notification-slide.active {
    display: block;
}

.notification-slide p {
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.notification-controls {
    position: absolute;
    bottom: 10px;
    right: 15px;
    display: flex;
    gap: 5px;
}

.notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.notification-dot.active,
.notification-dot:hover {
    background: rgba(255, 255, 255, 1);
}

/* Opening Hours */
.praxis-opening-hours {
    /* background: var(--wp--preset--color--background, #ffffff);
    border: 1px solid var(--wp--preset--color--border, #e0e0e0);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0; */
}

.praxis-opening-hours h2 {
    margin: 0 0 1rem 0;
    color: var(--wp--preset--color--foreground, #333333);
    /* font-size: var(--wp--preset--font-size--large, 1.25rem);
    font-weight: 600; */
    border-bottom: 2px solid var(--wp--preset--color--primary, #68a8de);
    padding-bottom: 0.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.day-hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 4px;
    background: var(--wp--preset--color--background-alt, #f9f9f9);
    transition: background-color 0.2s ease;
}

.day-hours:hover {
    background: var(--wp--preset--color--background-hover, #f0f0f0);
}

.day-name {
    /* font-weight: 600; */
    color: var(--wp--preset--color--foreground, #333333);
    min-width: 100px;
}

.hours {
    color: var(--wp--preset--color--foreground-alt, #666666);
    /* font-weight: 500; */
}

.closed {
    color: var(--wp--preset--color--error, #cc0000);
    /* font-style: italic; */
}

/* Current day highlighting */
.day-hours.today {
    background: var(--wp--preset--color--primary-light, rgba(0, 60, 87, 0.169));
    border-left: 4px solid var(--wp--preset--color--primary, #68a8de);

}

.day-hours.today .day-name,
.day-hours.today .hours{
    color: white;
    font-weight: bold;
}

/* Team Members */
.praxis-team-members {
    background: var(--wp--preset--color--background, #ffffff);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.praxis-team-members h2 {
    text-align: center;
    margin: 0 0 2rem 0;
    color: var(--wp--preset--color--foreground, #333333);
    /* font-size: var(--wp--preset--font-size--large, 1.25rem);
    font-weight: 600; */
    text-align: center;
    border-bottom: 2px solid var(--wp--preset--color--primary, #68a8de);
    /* padding-bottom: 0.5rem; */
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-member {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--wp--preset--color--background-alt, #f9f9f9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.member-photo {
    margin-right: 2rem;
    flex-shrink: 0;
}

.team-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--wp--preset--color--primary, #68a8de);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.member-info {
    flex: 1;
}

.member-name {
    margin: 0 0 0.5rem 0;
    color: var(--wp--preset--color--foreground, #333333);
    /* font-size: var(--wp--preset--font-size--medium, 1.1rem); */
    font-weight: 700;
}

.member-function {
    margin: 0;
    color: rgb(69, 69, 69);
    /* font-weight: 600;
    font-size: var(--wp--preset--font-size--small, 0.95rem); */
}

/* Responsive Design */
@media (max-width: 768px) {
    .praxis-notification-banner {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .notification-controls {
        bottom: 5px;
        right: 10px;
    }
    
    .praxis-opening-hours,
    .praxis-team-members {
        padding: 1rem;
    }
    
    .day-hours {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .day-name {
        min-width: auto;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .member-photo {
        margin: 0 0 1rem 0;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
}

/* Print Styles */
@media print {
    .praxis-notification-banner {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .notification-controls {
        display: none;
    }
    
    .team-member:hover {
        transform: none;
        box-shadow: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .praxis-notification-banner,
    .day-hours,
    .team-member {
        border: 2px solid;
    }
    
    .notification-dot {
        border: 1px solid;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .notification-slide,
    .notification-dot,
    .day-hours,
    .team-member {
        transition: none;
    }
}
