@import "../global.css";

.content-container {
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
    display: flex;
    gap: 50px;
}

@media (max-width: 900px) {
    .content-container {
        flex-direction: column;
        align-items: center;
    }
}

.preview-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.preview-container {
    max-width: 600px;
}

@media (max-width: 900px) {
    .preview-container {
        max-width: 80vw;
    }
}

figure + figcaption {
    color: #b9b9bb;
}

.order-form-container {
    max-width: 400px;
    min-width: 20vw;
}

@media (max-width: 900px) {
    .order-form-container {
        max-width: 100%;
        width: 100%;
    }
}

.product-name {
    font-size: 40px;
    margin-bottom: 5px;
}

.product-info-container > p:first-of-type {
    color: #656565;
}

.product-price {
    font-size: 24px;
    margin-top: 10px;
}

.product-info-container p:not(:first-of-type) {
    margin-bottom: 5px;
}

hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #86868b;
}

fieldset {
    border: none;
    margin-bottom: 40px;
}

legend {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #f5f5f7;
    border-bottom: 1px solid #333;
    width: 100%;
    padding-bottom: 10px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    color: #86868b;
    font-size: 0.9rem;
}

input[type="text"],
input[type="date"],
select {
    background-color: #1d1d1f;
    border: 1px solid #424245;
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    border-color: #0071e3;
}

.order-form label label {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: 15px;
}

.order-submit {
    width: 100%;
    padding: 15px;
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.order-submit:hover {
    background-color: #1d81e4;
}
