/**
 * General Notice Plugin Styles
 */

.general-notices-container {
    max-width: 100%;
    margin: 20px 0;
}

.general-notice-item {
    background: #fbfbfb;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.general-notice-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.general-notice-title {
    margin: 0 0 15px 0 !important;
    font-size: 1.4em !important;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}

.general-notice-content {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.general-notice-content p {
    margin: 0 0 10px 0;
}

.general-notice-content p:last-child {
    margin-bottom: 0;
}

.general-notice-date {
    font-size: 0.9em;
    color: #888;
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.general-notice-date-label {
    font-weight: bold;
    margin-right: 5px;
}

.general-notice-date-value {
    color: #666;
}

.general-notice-no-posts {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 5px;
}

/* Responsive design */
@media (max-width: 768px) {
    .general-notice-item {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .general-notice-title {
        font-size: 1.2em;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .general-notice-item {
        background: #2d2d2d;
        border-color: #444;
        color: #e0e0e0;
    }
    
    .general-notice-title {
        color: #fff;
    }
    
    .general-notice-content {
        color: #ccc;
    }
    
    .general-notice-date {
        color: #aaa;
        border-top-color: #444;
    }
    
    .general-notice-date-label {
        color: #bbb;
    }
    
    .general-notice-date-value {
        color: #999;
    }
    
    .general-notice-no-posts {
        background: #333;
        color: #ccc;
    }
}

/* Resort Info Table Styles */
.resort-info-table-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.resort-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.resort-info-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.resort-info-table tr:last-child {
    border-bottom: none;
}

.resort-info-label {
    background: #f8f9fa;
    padding: 15px 20px;
    font-weight: bold;
    color: #333;
    width: 35%;
    vertical-align: top;
    border-right: 1px solid #e5e5e5;
    font-size: 14px;
}

.resort-info-value {
    padding: 15px 20px;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
    vertical-align: top;
}

.resort-section-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

/* Responsive Design for Resort Info Table */
@media (max-width: 768px) {
    .resort-info-table {
        font-size: 13px;
    }
    
    .resort-info-label {
        width: 40%;
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .resort-info-value {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .resort-section-title {
        font-size: 16px;
        margin: 25px 0 12px 0;
    }
}

@media (max-width: 480px) {
    .resort-info-table {
        display: block;
        width: 100%;
    }
    
    .resort-info-table tbody {
        display: block;
    }
    
    .resort-info-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e5e5e5;
        border-radius: 5px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .resort-info-table tr:last-child {
        margin-bottom: 0;
    }
    
    .resort-info-label,
    .resort-info-value {
        display: block;
        width: 100%;
        padding: 12px 15px;
        border: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .resort-info-label {
        background: #f8f9fa;
        font-weight: bold;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .resort-info-value {
        background: #fff;
    }
    
    .resort-info-table tr:last-child .resort-info-value {
        border-bottom: none;
    }
    
    .resort-section-title {
        font-size: 15px;
        text-align: center;
        margin: 20px 0 10px 0;
    }
}

/* Dark theme support for resort info table */
@media (prefers-color-scheme: dark) {
    .resort-info-table {
        background: #2d2d2d;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .resort-info-table tr {
        border-bottom-color: #444;
    }
    
    .resort-info-label {
        background: #3a3a3a;
        color: #fff;
        border-right-color: #444;
    }
    
    .resort-info-value {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .resort-section-title {
        color: #3498db;
        border-bottom-color: #3498db;
    }
    
    .resort-info-table tr {
        border-color: #444;
    }
    
    .resort-info-label {
        border-bottom-color: #444;
    }
    
    .resort-info-value {
        border-bottom-color: #3a3a3a;
    }
}
