
.cosmiq-form-card {
    width: 100%;
    margin: 40px auto;
    max-width: 520px;
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 25px 24px;
    box-shadow: 0 15px 35px rgba(25, 35, 60, 0.10);
}

/* Header */
.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cosmiq-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1736b9;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-mark {
    width: 14px;
    height: 14px;
    border: 2px solid #1736b9;
    border-radius: 50%;
    margin-right: 4px;
    position: relative;
}

.logo-mark::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff684d;
    border-radius: 50%;
    top: -4px;
    right: -3px;
}

.header-icon {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #f2f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b9da3;
    font-size: 9px;
}

/* Heading */
.form-eyebrow {
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    color: #F97A60;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-title {
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.form-description {
    font-size: 15px;
    line-height: 1.5;
    color: #6B7280;
    margin-bottom: 28px;
}

/* Form fields */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    color: #222;
    margin-bottom: 8px;
}

.required {
    color: #F97A60;
}

.form-input {
    width: 100%;
    padding: 0px 12px;
    height:42px;
    border: 1px solid #CCC;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #636363;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: #a5a7ad;
}

.form-input:focus {
    border-color: #0D26A7;
    box-shadow: 0 0 0 2px rgba(13, 38, 167, 0.08);
}

.form-input.error {
    border-color: #e5484d;
}

.form-input.success {
    border-color: #36a269;
}

/* Two columns */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin:0px;
}

.phone-wrapper {
    display: flex;
    width: 100%;
}

.country-code {
    width: 40px;
    height: 42px;
    border: 1px solid #dedfe2;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: #f6f6f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #555;
    flex-shrink: 0;
}

.phone-input {
    border-radius: 0 8px 8px 0;
    height: 42px;
}

/* Error message */
.error-messages {
    display: none;
    color: #e5484d;
    font-size: 11px;
    line-height: 1.3;
    margin-top: 4px;
}

.error-messages.show {
    display: block;
}

/* Submit */
.submit-button {
    width: 100%;
    height: 53px;
    border: 0;
    border-radius: 100px;
    background: #0D26A7;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 5px;
    transition: background 0.2s ease, transform 0.15s ease;
    font-family: "JUST Sans Variable";
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-button:hover {
    background: #0a1d85;
}

.submit-button:active {
    transform: scale(0.98);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-arrow {
    margin-left: 4px;
    font-size: 12px;
}

/* Disclaimer */
.form-disclaimer {
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    color: #636363;
    margin: 14px auto 0;
}

/* Success */
.success-message {
    display: none;
    background: #edf9f1;
    color: #237a45;
    border-radius: 8px;
    padding: 9px;
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}

.success-message.show {
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .cosmiq-form-card {
        max-width: 100%;
        padding: 24px 20px 22px;
    }

    .form-title {
        font-size: 25px;
    }

    .submit-button {
        width: 100%;
        height: 42px;
        border: 0;
        border-radius: 100px;
        background: #0D26A7;
        color: #ffffff;
        font-size: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin:0px;
    }
}
