﻿* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: #f6f8fa;
    padding: 40px 20px;
    color: #333;
}

.main-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.errorContainer {
    display: flex;
    align-items: center;
    background-color: #fdecea;
    border: 1px solid #f5c2c7;
    color: #842029;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.left-section {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

    .left-section img.logo {
        width: 200px;
        height: auto;
        margin-bottom: 20px;
    }

    .left-section img.banner {
        width: 100%;
        height: auto;
        border-radius: 16px;
        margin-bottom: 30px;
    }

    .left-section .welcomeHeading {
        font-weight: 700;
        color: #2E456D;
        margin-bottom: 12px;
    }

    .left-section p {
        font-size: 17px;
        line-height: 1.6;
        color: #555;
        margin-bottom: 16px;
    }

.summary-box {
    background: #f2f4f8;
    padding: 20px;
    border-radius: 10px;
}

    .summary-box p {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 8px 0;
        font-size: 15px;
        gap: 20px;
    }

    .summary-box strong {
        display: inline-block;
        width: auto;
        font-weight: 600;
        color: #555;
    }

.right-section {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: #fff;
}

    .right-section h3 {
        color: #2E456D;
        font-size: 20px;
        font-weight: 700;
        margin: 20px 0;
    }

.two-col {
    display: flex;
    gap: 20px;
}

    .two-col > div {
        flex: 1;
    }

label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #333;
}

.right-section input, select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-weight: 400;
}

.full-width {
    grid-column: 1 / -1;
}

input[type="checkbox"] {
    transform: scale(1.2);
}

.submitBtn {
    grid-column: 1 / -1;
    padding: 14px;
    background: #2E456D;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
}

.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1300px;
    color: #2E456D;
    padding: 40px;
    margin-top: 8rem;
    text-align: center;
}

.phone-pill {
    display: inline-block;
    background-color: #3B5998;
    color: #fff;
    padding: 12px 36px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

    .phone-pill:hover {
        background-color: #2e456d;
        /*box-shadow: 0 0 0 3px rgba(46, 69, 109, 0.3);*/
        color: #fff
    }

.result-description {
    font-size: 18px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    body{
        padding: 30px 12px;
    }

    .main-container {
        flex-direction: column;
        padding: 14px;
    }

    .left-section img.logo {
        width: 200px;
        height: auto;
        margin-bottom: 20px;
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }

    .left-section img.banner {
        display:none;
    }

    .welcomeHeading, .description{
        text-align: center;
    }

    .left-section,
    .right-section {
        padding: 20px;
        min-width: unset;
    }

        .left-section img.banner {
            width: 100%;
            height: auto;
        }

    .two-col {
        flex-direction: column;
    }

    input[type="checkbox"] {
        transform: scale(1.3);
    }

    .result-description {
        font-size: 18px;
        line-height: 1.3;
        margin-top: 20px;
    }

}
