/* =========================================================
   BIRTH CHART FORM
========================================================= */

#birth_chart_form {
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d2d2d2 !important;
    border-bottom: 2px solid #d2d2d2 !important;
    background: #ffffff;
}

/* Make sure the Elementor form itself has a complete bottom border */
#birth_chart_form .elementor-form {
    width: 100%;
    margin: 0 !important;
    border-bottom: 1px solid #d2d2d2 !important;
}

/* Form fields */
#birth_chart_form .elementor-field-group {
    box-sizing: border-box;
}

/* Remove unwanted outer spacing */
#birth_chart_form .elementor-form-fields-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   RESULT AREA
========================================================= */

#birth-chart-results {
    width: 100%;
    max-width: 1000px;
    margin: 35px auto 0;
    padding: 0;
    box-sizing: border-box;
}

/* Heading */
#birth-chart-results h2 {
    margin: 0 0 22px;
    padding: 0;
    font-size: 34px;
    line-height: 1.2;
    text-align: center;
    color: #222222;
    font-weight: 700;
}

/* =========================================================
   RESULT BOX 1 - BIRTH DETAILS
========================================================= */

.bcg-birth-info {
    width: 100%;
    box-sizing: border-box;

    margin: 0 0 18px;
    padding: 20px 18px;
    border-radius: 8px;

    background: #ffffff;
    color: #222222;

    font-size: 14px;
}

/* Birth Details title */
.bcg-birth-info strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #111111;
}

/* Birth details text */
.bcg-birth-details {
    margin-top: 0;
    line-height: 1.7;
    color: #222222;
}

/* =========================================================
   RESULT BOX 2 - CHART
========================================================= */

.bcg-chart-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 18px;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    text-align: center;
}

/* SVG chart */
.bcg-chart-wrapper svg {
    display: block !important;

    width: 100% !important;
    max-width: 900px !important;

    height: auto !important;

    margin: 0 auto !important;
}

/* =========================================================
   LOCATION DROPDOWN
========================================================= */

#bcg-location-results {
    box-sizing: border-box;
}

.bcg-location-item {
    display: block;

    width: 100%;

    padding: 13px 15px;

    border: 0;
    border-bottom: 1px solid #eeeeee;

    background: #ffffff;
    color: #222222;

    text-align: left;

    font-size: 14px;
    line-height: 1.4;

    cursor: pointer;
}

.bcg-location-item:hover {
    background: #f5f5f5;
}

.bcg-no-results {
    padding: 13px 15px;
    color: #666666;
    font-size: 14px;
}

/* =========================================================
   ERROR
========================================================= */

#bcg-error {
    width: 100%;
    box-sizing: border-box;

    margin-top: 15px;
    padding: 12px 16px;

    border-radius: 6px;

    background: #fff0f0;
    color: #9b1c1c;

    font-size: 14px;
    line-height: 1.5;
}

/* Hide Elementor success message */
.elementor-form .elementor-message-success {
    display: none !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    #birth_chart_form {
        border: 1px solid #d2d2d2 !important;
        border-bottom: 1px solid #d2d2d2 !important;
    }

    #birth-chart-results {
        width: 100%;
        margin-top: 28px;
    }

    #birth-chart-results h2 {
        margin-bottom: 18px;
        font-size: 26px;
    }

    .bcg-birth-info {
        margin-bottom: 15px;
        padding: 15px;
        border-radius: 7px;
    }

    .bcg-chart-wrapper {
        padding: 8px;
        border-radius: 7px;
    }

    .bcg-chart-wrapper svg {
        width: 100% !important;
        max-width: 100% !important;
    }
}