.hca-fc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 24, 39, 0.55);
    box-sizing: border-box;
}

.hca-fc-modal[hidden] {
    display: none;
}

.hca-fc-dialog {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 28px 28px 22px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    box-sizing: border-box;
    font-family: inherit;
    color: #111827;
}

.hca-fc-dialog h2 {
    margin: 0 36px 18px 0;
    font-size: 22px;
    line-height: 1.3;
    color: #1783b0;
}

#hca_claim_course,
#hca_claim_course .elementor-button,
#hca_claim_course .elementor-button-content-wrapper,
#hca_claim_course .elementor-button-text,
#hca_claim_course .elementor-button-icon,
#hca_claim_course i {
    cursor: pointer !important;
}

.hca-fc-dialog .hca-fc-close,
.hca-fc-dialog .hca-fc-close:hover,
.hca-fc-dialog .hca-fc-close:focus {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #1783b0 !important;
    font-size: 28px;
    line-height: 1;
    cursor: pointer !important;
}

.hca-fc-form label {
    display: block;
    margin: 0 0 16px;
    color: #1783b0;
    font-size: 15px;
    font-weight: 600;
}

.hca-fc-form input[type="text"],
.hca-fc-form input[type="email"] {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 8px 10px;
    border: 1px solid #3aa0c5;
    border-radius: 3px;
    background: #fff;
    color: #111827;
    font-weight: 400;
    font-size: 15px;
    box-sizing: border-box;
    box-shadow: none;
}

.hca-fc-form input[type="text"]:focus,
.hca-fc-form input[type="email"]:focus {
    border-color: #0f6f96;
    outline: 2px solid rgba(23, 131, 176, 0.25);
    outline-offset: 1px;
}

.hca-fc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 28px;
}

.hca-fc-dialog .hca-fc-btn,
.hca-fc-dialog .hca-fc-btn:hover,
.hca-fc-dialog .hca-fc-btn:focus {
    width: 100%;
    margin-top: 6px;
    padding: 12px 16px;
    border: 0 !important;
    border-radius: 4px;
    background: #1783b0 !important;
    color: #fff !important;
    font-weight: 700;
    cursor: pointer !important;
    box-shadow: none !important;
}

.hca-fc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hca-fc-form input.hca-fc-invalid,
.hca-fc-form input.hca-fc-invalid:focus {
    border-color: #b42318;
    outline-color: rgba(180, 35, 24, 0.2);
}

.hca-fc-field-error {
    display: block;
    margin-top: 4px;
    color: #b42318;
    font-size: 12px;
    font-weight: 500;
}

.hca-fc-field-error[hidden] {
    display: none;
}

.hca-fc-msg {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 6px;
}

.hca-fc-msg.ok {
    background: #ecfdf3;
    color: #027a48;
}

.hca-fc-msg.err {
    background: #fef3f2;
    color: #b42318;
}

.hca-fc-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    opacity: 0;
}

@media (max-width: 700px) {
    .hca-fc-grid {
        grid-template-columns: 1fr;
    }

    .hca-fc-dialog {
        padding: 22px 16px 16px;
    }
}
