﻿
.info-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

    .info-page-header h1 {
        font-size: 2rem;
        font-weight: 600;
    }

.info-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

    .info-button:hover {
        background-color: #c00c15;
    }

.info-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 0 0 1px rgba(207 47 47 / 22%), 0 8px 25px rgba(203 74 74 / 45%);
}

@media (min-width: 1024px) {
    .info-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.info-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px var(--shadow-color);
    overflow: hidden; 
}

.info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

    .info-card-header h2, .info-card-header h3 {
        margin: 0;
        font-size: 1.7rem;
        font-weight: 600;
    }


.info-card-body {
    padding: 1.5rem;
}

.details-group {
    display: flex;
    flex-wrap: wrap; 
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 250px; 
}

    .detail-item.full-width {
        flex-basis: 100%;
    }

.detail-label {
    font-size: 1.5rem;
    color: var(--label-color);
    font-weight: 500;
}

.detail-value {
    padding: 0.5rem 0.4rem;
    border: solid 2px #00000026;
    border-radius: 7px;
    font-size: 1.3rem;
    color: var(--text-color-light);
}

.social-media-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

    .social-link:hover {
        text-decoration: underline;
    }

.operating-hours-grid {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto 1fr;
    align-items: center;
    gap: 1rem;
}

.day-name, .day-status, .day-time {
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

.day-name, .day-status, .day-time {
    border-bottom: 1px solid var(--border-color);
}
.operating-hours-grid > *:nth-last-child(-n+3) {
    border-bottom: none;
}


.day-name {
    font-weight: 600;
    color: var(--text-color);
}

.day-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

    .day-status input[type="checkbox"] {
        width: 18px; 
        height: 18px;
        accent-color: transparent; 
        appearance: none; 
        border: 2px solid #adb5bd; 
        border-radius: 4px; 
        background-color: transparent; 
        position: relative; 
        cursor: pointer; 
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

        
        .day-status input[type="checkbox"]:checked {
            background-color: blue;
            border-color: blue; 
        }

            
            .day-status input[type="checkbox"]:checked::after {
                content: "\2713"; 
                font-size: 13px; 
                color: white; 
                position: absolute;
                top: 50%; 
                left: 50%;
                transform: translate(-50%, -50%); 
            }



.status-open {
    color: var(--status-open-color);
}

.status-closed {
    color: var(--status-closed-color);
}
.day-time {
    font-weight: 600;
    text-align: center;
}

.timezone-info {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--label-color);
}

.info-loading-container, .info-message-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    gap: 1rem;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    color: var(--text-color-light);
    font-size: 1.1rem;
    min-height: 600px;
}

.info-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.info-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
}

.info-toast-error {
    background-color: var(--primary-color);
}

.info-message-muted {
    color: var(--label-color);
    font-style: italic;
}
@media (max-width: 600px){
    .detail-value {
        font-size: 1.0rem;
    }
}

@media (max-width: 400px) {
    .detail-value {
        font-size: 0.9rem;
    }

    .operating-hours-grid {
        gap: 0rem;
    }
}