/* Geo-Redirect Pop-up Styles for Solario24 */
/* Matching Solario24 Brand Guidelines */

@import url('https://fonts.googleapis.com/css2?family=Hepta+Slab:wght@400;600;700&family=Archivo:wght@400;500;600;700&display=swap');

.geo-redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.geo-redirect-popup {
    background: #ffffff;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transform: scale(0.9);
    animation: popIn 0.3s ease forwards;
}

/* Logo Header */
.geo-redirect-popup .geo-header {
    padding: 25px 30px 15px 30px;
    background: #ffffff;
}

.geo-redirect-popup .geo-logo {
    width: 90px;
    height: auto;
}

/* Content Area */
.geo-redirect-popup .geo-content {
    padding: 0 30px 25px 30px;
}

.geo-redirect-popup h2 {
    font-family: 'Hepta Slab', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.geo-redirect-popup h2 .highlight {
    color: #82bb41;
}

.geo-redirect-popup p {
    font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    color: #333333;
    margin: 0;
    line-height: 1.7;
}

/* Highlight Box (like your email style) */
.geo-redirect-popup .geo-highlight-box {
    background-color: #f4fae9;
    border-radius: 12px;
    border-left: 4px solid #82bb41;
    padding: 18px 20px;
    margin: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.geo-redirect-popup .geo-highlight-box .geo-flag {
    font-size: 36px;
    line-height: 1;
}

.geo-redirect-popup .geo-highlight-box .geo-info {
    text-align: left;
}

.geo-redirect-popup .geo-highlight-box .geo-label {
    font-family: 'Archivo', sans-serif;
    font-size: 11px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.geo-redirect-popup .geo-highlight-box .geo-country {
    font-family: 'Hepta Slab', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #82bb41;
}

/* Loader */
.geo-redirect-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 30px 20px 30px;
}

.geo-redirect-loader .spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #e0e0e0;
    border-top-color: #82bb41;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.geo-redirect-loader span {
    font-family: 'Archivo', sans-serif;
    font-size: 13px;
    color: #82bb41;
    font-weight: 600;
}

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

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .geo-redirect-popup {
        margin: 15px;
        width: calc(100% - 30px);
    }

    .geo-redirect-popup .geo-header {
        padding: 20px 20px 12px 20px;
    }

    .geo-redirect-popup .geo-content {
        padding: 0 20px 20px 20px;
    }

    .geo-redirect-popup h2 {
        font-size: 18px;
    }

    .geo-redirect-popup p {
        font-size: 14px;
    }

    .geo-redirect-popup .geo-highlight-box {
        margin: 15px 20px;
        padding: 15px;
    }

    .geo-redirect-popup .geo-highlight-box .geo-flag {
        font-size: 30px;
    }

    .geo-redirect-popup .geo-highlight-box .geo-country {
        font-size: 18px;
    }

    .geo-redirect-loader {
        padding: 0 20px 15px 20px;
    }
}

/* Buttons Container - Added for new popup design */
.geo-redirect-popup .geo-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 30px 25px 30px;
}

/* Button Basis-Style */
.geo-redirect-popup .geo-btn {
    font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
}

/* Primärer Button (Wechseln) */
.geo-redirect-popup .geo-btn-primary {
    background-color: #82bb41;
    color: #ffffff;
}

.geo-redirect-popup .geo-btn-primary:hover {
    background-color: #6fa032;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(130, 187, 65, 0.3);
}

/* Sekundärer Button (Bleiben) */
.geo-redirect-popup .geo-btn-secondary {
    background-color: transparent;
    color: #666666;
    border: 1px solid #e0e0e0;
}

.geo-redirect-popup .geo-btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #cccccc;
    color: #333333;
}

/* Mobile Anpassungen für Buttons */
@media (max-width: 480px) {
    .geo-redirect-popup .geo-buttons {
        padding: 0 20px 20px 20px;
    }

    .geo-redirect-popup .geo-btn {
        font-size: 14px;
        padding: 12px 20px;
    }
}
