.wpdc-domain-wrapper {
    max-width: 850px;
    margin: 0 auto;
    font-family: inherit;
    text-align: center;
}

.wpdc-form-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px; /* Reduced to make room for subtitle */
}

/* NEW: Base styles for the subtitle */
.wpdc-form-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 30px;
}


.wpdc-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wpdc-prefix {
    color: #6B7280;
    font-weight: 600;
    font-size: 16px;
}

#wpdc-domain-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 15px 10px;
    font-size: 16px;
    color: #333;
    outline: none;
    box-shadow: none;
}

.wpdc-actions {
    display: flex;
    gap: 8px;
}

.wpdc-btn {
    position: relative;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    /* transition applies to all Elementor overrides */
    transition: all 0.3s ease; 
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    border: 1px solid transparent; /* Allows border injection without shifting height */
}

.wpdc-btn-primary { background: #FCB017; color: #fff; }
.wpdc-btn-secondary { background: #2155D6; color: #fff; }

.wpdc-extensions { margin-top: 25px; }

.wpdc-ext-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpdc-ext-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
}

.wpdc-ext-badge strong { font-weight: 700; }
.wpdc-ext-badge .divider { opacity: 0.5; margin: 0 6px; }

/* Loader */
.btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: wpdc-spin 0.8s linear infinite;
    position: absolute;
}
.wpdc-btn.is-loading .btn-text { visibility: hidden; opacity: 0; }
.wpdc-btn.is-loading .btn-loader { display: block; }
@keyframes wpdc-spin { to { transform: rotate(360deg); } }

/* Mobile View - Elements naturally stack Top-to-Bottom based on HTML order */
@media (max-width: 768px) {
    .wpdc-input-group { flex-direction: column; padding: 15px; background: transparent !important; box-shadow: none !important; border: none !important;}
    .wpdc-prefix { display: none; }
    #wpdc-domain-input { width: 100%; background: #fff; border-radius: 8px; margin-bottom: 10px; text-align: center; }
    .wpdc-actions { width: 100%; flex-direction: column; }
    .wpdc-btn { width: 100%; padding: 16px; }
}

/*Chat box*/
