@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

.dg-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Controlled by JS */
    z-index: 999999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.dg-popup-content {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.dg-close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

/* Heading Style per your requirements */
.dg-popup-title {
    font-family: "Playfair Display", serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dg-popup-sub {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
}

/* Form Layout */
.dg-input-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.dg-input-group input {
    flex: 1;
    height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
}

.dg-input-group input:focus {
    border-color: #1b4332;
}

/* Forest Green Button Style */
.dg-sub-btn {
    background: #1b4332 !important;
    color: #ffffff !important;
    border: none;
    padding: 0 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s;
}

.dg-sub-btn:hover {
    opacity: 0.9;
}

/* FOOTER BAR STYLING (For Shortcode) */
.dg-footer-bar {
    background: #1b4332;
    padding: 40px;
    border-radius: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .dg-footer-bar { flex-direction: column; text-align: center; }
    .dg-input-group { flex-direction: column; }
}