/* ==========================================
   GENERAL PAGE
========================================== */

body {

    margin: 0;

    padding: 0;

    font-family: Arial, sans-serif;

    background-color: #f4f6f8;

    color: #222;

}


/* ==========================================
   HEADER
========================================== */

.header {

    background-color: #1f2937;

    color: white;

    padding: 25px 20px;

}


.header-content {

    max-width: 850px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.brand {

    display: flex;

    align-items: center;

    gap: 14px;

}


.brand-mark {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #2563eb;

    border-radius: 7px;

    font-weight: bold;

    font-size: 15px;

}


.brand-text h1 {

    margin: 0;

    font-size: 23px;

}


.brand-text p {

    margin: 5px 0 0 0;

    font-size: 13px;

    color: #d1d5db;

}


.project-label {

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1px;

    color: #cbd5e1;

    text-align: right;

}


/* ==========================================
   MAIN CONTAINER
========================================== */

.container {

    max-width: 850px;

    margin: 35px auto;

    padding: 0 20px;

}


/* ==========================================
   ABOUT SECTION
========================================== */

.about-section {

    margin-bottom: 25px;

}


.about-section h2 {

    margin: 0;

    font-size: 21px;

    color: #1e293b;

}


.about-section p {

    margin-top: 7px;

    margin-bottom: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.5;

}


/* ==========================================
   QUERY CARD
========================================== */

.query-card {

    background-color: white;

    padding: 35px;

    border-radius: 10px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.08);

}


/* ==========================================
   QUERY HEADING
========================================== */

.query-heading {

    margin-bottom: 30px;

}


.query-heading h2 {

    margin: 0;

    font-size: 22px;

    color: #1e293b;

}


.query-heading p {

    margin-top: 8px;

    margin-bottom: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.5;

}


/* ==========================================
   FORM SECTION
========================================== */

.form-section {

    margin-bottom: 25px;

}


.form-section label,
.comparison-section label {

    display: block;

    font-weight: bold;

    margin-bottom: 6px;

    font-size: 14px;

    color: #1e293b;

}


/* ==========================================
   FIELD DESCRIPTION
========================================== */

.field-description {

    margin-top: 0;

    margin-bottom: 9px;

    font-size: 13px;

    line-height: 1.4;

    color: #64748b;

}


/* ==========================================
   SELECT BOXES
========================================== */

select {

    width: 100%;

    padding: 12px;

    border: 1px solid #cbd5e1;

    border-radius: 6px;

    background-color: white;

    font-size: 15px;

    color: #1e293b;

    box-sizing: border-box;

    cursor: pointer;

}


select:focus {

    outline: none;

    border-color: #2563eb;

    box-shadow:
        0 0 0 2px rgba(37, 99, 235, 0.1);

}


/* ==========================================
   COMPARISON SECTION
========================================== */

.comparison-section {

    margin-top: 5px;

    margin-bottom: 25px;

    padding: 20px;

    border-left: 4px solid #2563eb;

    background-color: #f8fafc;

    border-radius: 4px;

}


/* ==========================================
   BUTTON SECTION
========================================== */

.button-section {

    margin-top: 10px;

    padding-top: 10px;

}


/* ==========================================
   APPLY BUTTON
========================================== */

button {

    width: 100%;

    padding: 13px;

    border: none;

    border-radius: 6px;

    background-color: #2563eb;

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: background-color 0.2s ease;

}


button:hover {

    background-color: #1d4ed8;

}


button:active {

    transform: translateY(1px);

}


/* ==========================================
   RESULT CARD
========================================== */

.result-card {

    margin-top: 25px;

    background-color: white;

    padding: 30px;

    border-radius: 10px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.08);

}


/* ==========================================
   RESULT HEADING
========================================== */

.result-heading {

    font-size: 14px;

    font-weight: bold;

    color: #64748b;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}


/* ==========================================
   RESULT VALUE
========================================== */

.result-value {

    margin: 15px 0 20px 0;

    font-size: 32px;

    font-weight: bold;

    color: #1e293b;

}


/* ==========================================
   QUERY DETAILS
========================================== */

.query-details {

    margin-top: 20px;

    padding-top: 15px;

    border-top: 1px solid #e2e8f0;

    color: #475569;

    font-size: 14px;

}


.query-details p {

    margin: 8px 0;

}


.query-details strong {

    color: #1e293b;

}


/* ==========================================
   PROJECT INFORMATION
========================================== */

.project-info {

    margin-top: 30px;

    padding: 25px;

    background-color: white;

    border-radius: 10px;

    border: 1px solid #e2e8f0;

}


.project-info h2 {

    margin-top: 0;

    font-size: 18px;

    color: #1e293b;

}


.project-info p {

    color: #64748b;

    font-size: 14px;

    line-height: 1.6;

}


/* ==========================================
   TECHNOLOGY LIST
========================================== */

.technology-list {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 18px;

}


.technology-list span {

    padding: 6px 10px;

    background-color: #f1f5f9;

    border-radius: 5px;

    color: #475569;

    font-size: 12px;

    font-weight: bold;

}


/* ==========================================
   FOOTER
========================================== */

.footer {

    margin-top: 50px;

    padding: 25px 20px;

    text-align: center;

    background-color: #1f2937;

    color: #94a3b8;

    font-size: 12px;

}


.footer p {

    margin: 5px 0;

}


/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 600px) {

    .header {

        padding: 22px 15px;

    }


    .header-content {

        align-items: flex-start;

        flex-direction: column;

    }


    .project-label {

        text-align: left;

    }


    .brand-text h1 {

        font-size: 20px;

    }


    .container {

        margin: 25px auto;

        padding: 0 12px;

    }


    .query-card,
    .result-card {

        padding: 25px 20px;

    }


    .result-value {

        font-size: 27px;

    }

}

.error-card {
    margin-top: 24px;
    padding: 18px 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
}

.error-heading {
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 6px;
}

.error-card p {
    margin: 0;
    color: #7f1d1d;
    font-size: 14px;
}