@import url('https://fonts.googleapis.com/css2?family=Kdam+Thmor+Pro&display=swap');

body {
    margin: 0;
    font-family: "Kdam Thmor Pro", sans-serif;
    background-color: #1f1f1f;
    color: white;
}

input,
button,
textarea,
select {
    font-family: "Kdam Thmor Pro", sans-serif;
}

.topbar {
    background-color: #00752D;
    display: flex;
    justify-content: center;
    gap: 120px;
    padding: 0;
    font-size: 11px;
    height: 20px;
    align-items: center;
}



.menubar {
    background-color: #098B3B;
    display: flex;
    align-items: center;
    padding: 0 50px 0 0;
    height: 55px;
}

.logoBox {
    background-color: #00752D;
    width: 120px;
    height: 75px;
    margin-top: -20px;
    margin-right: 5px;
    padding-left: 8px;
    padding-top: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.logoBox h1 {
    margin: 0;
    font-size: 52px;
    line-height: 50px;
}

.logoBox p {
    margin: 8px 0 0 0;
    font-size: 14px;
    line-height: 14px;
}

.logoLink {
    color: white;
    text-decoration: none;
}

.menuLinks {
    display: flex;
    gap: 0;
    align-items: center;
}

.menuLinks a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-right: 1px solid #00752D;
    width: 190px;
    height: 55px;

    display: flex;
    justify-content: center;
    align-items: center;
}


.adminIconBox {
    margin-left: auto;
    display: flex;
    gap: 18px;
    align-items: center;
}

.adminIconBox a {
    color: white;
    text-decoration: none;
    font-size: 11px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.adminIconBox i {
    font-size: 22px;
    margin-bottom: 2px;
}



.background {
    background-image: url("../images/blurredbackground.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: calc(100vh - 75px);
    overflow: hidden;
    padding: 0 40px 20px 40px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 650px 720px;
    grid-template-rows: auto auto;
    gap: 40px;
    justify-content: center;
    align-content: start;
    align-items: stretch;
}

.buildCarportText {
    grid-column: 1 / 3;
    margin-bottom: -35px;
}

.buildCarportText h1 {
    font-size: 34px;
    margin-top: 10px;
}

.buildCarportText p {
    font-size: 13px;
    margin-top: -20px;
    color: #a0a0a0;
}

.configureContainer,
.yourPreviewCarportContainer {
    display: flex;
    flex-direction: column;
    background-color: #1c1c1c;
    border: 1px solid #767676;
    box-sizing: border-box;
}

.configureContainer {
    width: 100%;
}

.configureTitle {
    border-bottom: 1px solid #767676;
    padding: 7px 15px;
}

.configureTitle h2 {
    margin: 0;
    font-size: 19px;
}

.typeRow,
.measureRow,
.shedMeasureRow,
.selectMaterialRow,
.selectRooofRow {
    display: grid;
    grid-template-columns: 90px 1fr 1fr 1fr;
    gap: 25px;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #767676;
}

.shedRow{
    display: grid;
    grid-template-columns: 90px 1fr 1fr 1fr;
    gap: 25px;
    align-items: center;
    padding: 5px 15px;
}

.typeRow {
    grid-template-columns: 90px 1fr 1fr;
}

.shedRow {
    grid-template-columns: 90px 1fr 1fr;
}

.selectMaterialRow,
.selectRooofRow {
    grid-template-columns: 90px 1fr;
}

.typeRow p,
.measureRow p,
.shedRow p,
.selectMaterialRow p,
.selectRooofRow p {
    margin: 0;
    font-size: 15px;
}

button {
    background-color: #2B2A2A;
    border: 1.5px solid #767676;
    color: white;
    height: 34px;
    font-size: 15px;
    cursor: pointer;
}

button:hover {
    border-color: #00752D;
}

.measureBox {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.measureBox label {
    font-size: 11px;
    color: #8d8d8d;
}

.measureBox input {
    width: 100%;
    height: 34px;
    background-color: #2B2A2A;
    border: 1.5px solid #767676;
    color: white;
    font-size: 15px;
    padding-left: 10px;
    box-sizing: border-box;
    outline: none;
}

.measureBox input::placeholder {
    color: white;
    opacity: 0.2;
}

select {
    width: 100%;
    height: 36px;
    background-color: #2B2A2A;
    border: 1.5px solid #767676;
    color: white;
    font-size: 15px;
    padding-left: 10px;
    box-sizing: border-box;
    outline: none;
}

#updatePreview {
    padding: 18px 25px;
}

#updatePreview button {
    width: 100%;
    background-color: #00752D;
    border: 2px solid #767676;
}

.yourPreviewCarportContainer {
    width: 100%;
    background-color: #1c1c1c;
    border: 1px solid #767676;
    box-sizing: border-box;
}

.previewImage {
    flex: 0 0 auto;
    padding: 12px 35px;
    border-bottom: 1px solid #767676;
}

.previewImage img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
}

.summarySection {
    flex: 1;
    background-color: #1c1c1c;
    padding: 8px 25px 6px 25px;
    border-left: none;
    border-right: none;
    box-sizing: border-box;
}

.summarySection h3 {
    font-size: 14px;
    margin: 0 0 4px 0;
}

.summaryRow {
    width: 100%;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #767676;
    font-size: 13px;
    padding: 1px 0;
}

.priceSection {
    background-color: #1c1c1c;
    margin-top: auto;
    border-top: 1px solid #767676;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 8px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.priceSection p {
    margin: 0;
    font-size: 15px;
}

#summaryPrice {
    color: #00752D;
    font-size: 18px;
}

#sendRequest {
    flex: 0 0 auto;
    background-color: #1c1c1c;
    padding: 0 35px 22px 35px;
    border: none;
}

#sendRequest button {
    width: 100%;
    height: 38px;
    background-color: #00752D;
    border: 2px solid #767676;
}

#carportRequestForm {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 650px 720px;
    gap: 40px;
    width: 100%;
    margin-top: 0;
    align-items: stretch;
}

.typeRow label,
.shedRow label {
    background-color: #2B2A2A;
    border: 1.5px solid #767676;
    color: white;
    height: 34px;
    font-size: 15px;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
}

.typeRow label:hover,
.shedRow label:hover {
    border-color: #00752D;
}

.typeRow input[type="radio"],
.shedRow input[type="radio"] {
    display: none;
}

.typeRow label:has(input[type="radio"]:checked),
.shedRow label:has(input[type="radio"]:checked) {
    border-color: #00752D;
    background-color: #242424;
}

.commentRow {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 25px;
    align-items: start;
    padding: 20px 15px;
    border-bottom: 1px solid #767676;
}

.commentRow p {
    margin: 0;
    font-size: 15px;
}

.commentRow textarea {
    width: 100%;
    height: 70px;
    background-color: #2B2A2A;
    border: 1.5px solid #767676;
    color: white;
    font-size: 15px;
    padding: 8px 10px;
    box-sizing: border-box;
    outline: none;
    resize: none;
}

.commentRow textarea::placeholder {
    color: white;
    opacity: 0.2;
}

.commentRow textarea:focus {
border-color: #00752D;
}
