/**
 * Public styles for Now Georgia Regional Support plugin
 *
 * @package    Now_Georgia_Regional_Support
 * @subpackage Now_Georgia_Regional_Support/assets/css
 * @since      1.0.0
 */

.ngrs-regional-content {
    margin: 20px 0;
    padding: 0;
}

.ngrs-content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ngrs-content-item {
    background: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.ngrs-content-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ngrs-content-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    line-height: 1.4;
}

.ngrs-content-item h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ngrs-content-item h3 a:hover {
    color: #3498db;
}

.ngrs-excerpt {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

.ngrs-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.ngrs-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
}

.ngrs-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
}

/* Regional content widget styling */
.widget .ngrs-regional-content {
    margin: 10px 0;
}

.widget .ngrs-content-item {
    padding: 15px;
    margin-bottom: 10px;
}

.widget .ngrs-content-item h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
}

/* Region Selector Styles */
.ngrs-region-selector {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.ngrs-selector-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #495057;
    font-size: 1.1em;
}

.ngrs-region-dropdown {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    border: 2px solid #ced4da;
    border-radius: 6px;
    background-color: #fff;
    font-size: 16px;
    color: #495057;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ngrs-region-dropdown:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.ngrs-region-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ngrs-region-button {
    padding: 12px 24px;
    background: #fff;
    border: 2px solid #007cba;
    border-radius: 6px;
    color: #007cba;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.ngrs-region-button:hover {
    background: #007cba;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.ngrs-region-button.ngrs-active {
    background: #007cba;
    color: #fff;
}

.ngrs-region-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.3);
}

/* Transition effects */
body.ngrs-transitioning {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Regional body classes for styling */
.ngrs-region-northeast-georgia {
    --region-color: #2e7d32;
}

.ngrs-region-west-central-georgia {
    --region-color: #1976d2;
}

.ngrs-enabled .ngrs-region-selector {
    border-left: 4px solid var(--region-color, #007cba);
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .ngrs-content-item {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .ngrs-content-item h3 {
        font-size: 1.1em;
    }
    
    .ngrs-excerpt {
        font-size: 0.9em;
    }
    
    .ngrs-region-selector {
        padding: 15px;
        margin: 15px 0;
    }
    
    .ngrs-region-buttons {
        flex-direction: column;
    }
    
    .ngrs-region-button {
        width: 100%;
        text-align: center;
    }
    
    .ngrs-region-dropdown {
        max-width: 100%;
    }
}
