/* GDPR Popup Styles */
.ghm-popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    overflow-y: auto;
}

.ghm-popup-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.ghm-popup-content-area {
    background: #fff;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ghm-gdpr-heading h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
    color: #333;
}

.ghm-gdpr-heading p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.ghm-gdpr-content {
    margin-bottom: 20px;
}

.ghm-gdpr-iframe {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ghm-gdpr-terms {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ghm-gdpr-terms label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.ghm-gdpr-terms input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.ghm-terms-button {
    padding: 12px 30px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
}

.ghm-terms-button:hover:not(.disabled) {
    background: #0056b3;
}

.ghm-terms-button.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .ghm-popup-content-area {
        padding: 20px;
    }

    .ghm-gdpr-heading h2 {
        font-size: 24px;
    }

    .ghm-gdpr-iframe {
        height: 300px;
    }
}
