/* OGB Geo Redirect Modal Styles */

.ogb-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    /* animation: ogbFadeIn 0.3s ease; */
}

.ogb-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: ogbSlideDown 0.3s ease;
}

.ogb-modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.ogb-modal-close:hover,
.ogb-modal-close:focus {
    color: #000;
}

.ogb-modal-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
    color: #333;
}

.ogb-modal-content > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Sites List */
.ogb-sites-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ogb-site-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.ogb-site-item:not(.active):hover {
    border-color: #0073aa;
    background-color: #f7f7f7;
    transform: translateX(5px);
}

.ogb-site-item.active {
    border-color: #46b450;
    background-color: #f0f9f1;
    cursor: default;
}

.ogb-site-flag {
    font-size: 42px;
    margin-right: 20px;
    line-height: 1;
}

.ogb-site-info {
    flex: 1;
}

.ogb-site-info h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.ogb-site-current {
    display: inline-block;
    margin-top: 5px;
    padding: 4px 12px;
    background: #46b450;
    color: white;
    font-size: 12px;
    border-radius: 12px;
    font-weight: 600;
}

.ogb-site-arrow {
    font-size: 24px;
    color: #0073aa;
    margin-left: 10px;
}

/* Notice Modal Styles */
.ogb-notice-modal {
    max-width: 500px;
    text-align: center;
}

.ogb-notice-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: ogbPulse 2s ease-in-out infinite;
}

.ogb-notice-modal h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 26px;
    color: #333;
}

.ogb-notice-modal p {
    margin: 0 0 30px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.ogb-notice-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.ogb-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.ogb-btn-primary {
    background: #00C4B3;
    color: white;
}

.ogb-btn-primary:hover,
.ogb-btn-primary:focus {
    background: #101820;
    color: white;
}

.ogb-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.ogb-btn-secondary:hover,
.ogb-btn-secondary:focus {
    background: #e0e0e0;
    color: #333;
}

/* Admin Styles */
.ogb-admin-info {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.ogb-admin-info h2 {
    margin-top: 0;
}

.ogb-admin-info p {
    margin: 10px 0;
}

/* Animations */
@keyframes ogbFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes ogbSlideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ogbSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ogbPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ogb-modal-content {
        margin: 10% auto;
        padding: 25px;
    }
    
    .ogb-modal-content h2 {
        font-size: 22px;
    }
    
    .ogb-site-flag {
        font-size: 32px;
        margin-right: 15px;
    }
    
    .ogb-site-info h3 {
        font-size: 16px;
    }
    
    .ogb-notice-modal {
        margin: 20% auto;
        padding: 30px 20px;
    }
    
    .ogb-notice-icon {
        font-size: 48px;
    }
    
    .ogb-notice-buttons {
        flex-direction: column;
    }
    
    .ogb-btn {
        width: 100%;
        text-align: center;
    }
}

/* Dark mode support */
/*@media (prefers-color-scheme: dark) {
    .ogb-modal-content,
    .ogb-site-item {
        background-color: #1e1e1e;
        color: #e0e0e0;
    }
    
    .ogb-modal-content h2,
    .ogb-site-info h3 {
        color: #e0e0e0;
    }
    
    .ogb-modal-content > p,
    .ogb-notice-modal p {
        color: #b0b0b0;
    }
    
    .ogb-site-item {
        border-color: #444;
    }
    
    .ogb-site-item:not(.active):hover {
        background-color: #2a2a2a;
    }
    
    .ogb-site-item.active {
        background-color: #1a3a1a;
    }
}
*/