body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    margin: 0;
    color: #111;
}

.navbar {
    background: #f5f5f5;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    color: #000;
}

.navbar a {
    color: #000;
    text-decoration: none;
    margin-left: 1rem;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
}

.form-container {
    max-width: 600px;
    margin: 2.5rem auto;
    background: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(216, 34, 47, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.04);
    border: 1.5px solid #f3d6d8;
}

form#orderForm {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    margin: 0.2rem 0 0.1rem 0;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    background: #faf7f7;
    font-size: 1.05rem;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
    border: 1.5px solid #888;
    box-shadow: 0 0 0 2px #f3d6d8;
}

label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.2rem;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}

button {
    background: #D8222F;
    color: #fff;
    border: none;
    padding: 1.1rem;
    width: 100%;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 0.7rem;
    box-shadow: 0 2px 8px rgba(216, 34, 47, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

button:hover {
    background: #b81c27;
    box-shadow: 0 4px 16px rgba(216, 34, 47, 0.13);
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.disclaimer {
    font-size: 0.98rem;
    color: #D8222F;
    background: #f3d6d8;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    border-left: 4px solid #D8222F;
}

#responseMsg {
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #D8222F;
    text-align: center;
}

.custom-dropdown-wrapper {
    width: 100%;
    position: relative;
}

.custom-dropdown {
    width: 100%;
    position: relative;
    user-select: none;
}

.custom-dropdown-selected {
    border: 1.5px solid #ccc;
    border-radius: 10px;
    padding: 0.95rem 1.1rem;
    background: #faf7f7;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.custom-dropdown-list {
    display: none;
    border: 1.5px solid #ccc;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(216, 34, 47, 0.08);
    max-height: 250px;
    overflow-y: auto;
    z-index: 10;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

.custom-dropdown.open .custom-dropdown-list {
    display: block;
}

.custom-dropdown-item {
    padding: 0.95rem 1.1rem;
    font-size: 1.05rem;
}

.custom-dropdown-item:hover {
    background: #f3d6d8;
}

.color-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    margin-right: 8px;
    vertical-align: middle;
}

.footer {
    background: #f5f5f5;
    color: #222;
    padding: 2rem 1rem 1rem 1rem;
    margin-top: 2rem;
    border-top: 1.5px solid #f3d6d8;
    font-size: 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-brand {
    flex: 1 1 220px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 180px;
}

.footer-links a,
.footer-social a {
    color: #D8222F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #b81c27;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

.form-container-admin {
    max-width: 1200px;
    margin: 2.5rem auto;
    background: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(216, 34, 47, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.04);
    border: 1.5px solid #f3d6d8;
}

@media (max-width: 1200px) {
    .form-container {
        max-width: 95vw;
        padding: 2rem 1rem;
    }
}

@media (max-width: 900px) {
    .form-container {
        max-width: 99vw;
        padding: 1.5rem 0.5rem;
    }

    h1 {
        font-size: 1.3rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .footer {
        padding: 1.5rem 0.5rem 0.7rem 0.5rem;
    }
}

@media (max-width: 700px) {
    .form-container {
        padding: 1rem 0.2rem;
        max-width: 100vw;
        border-radius: 8px;
        margin: 0.5rem auto;
    }

    h1 {
        font-size: 1.1rem;
        text-align: center;
    }

    input,
    select,
    textarea,
    .custom-dropdown-selected {
        font-size: 0.98rem;
        padding: 0.7rem 0.5rem;
    }

    button {
        font-size: 0.98rem;
        padding: 0.8rem;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 0.1rem;
    }

    .navbar a {
        margin-left: 0;
        margin-top: 0.4rem;
    }

    .custom-dropdown-list {
        max-height: 140px;
        font-size: 0.95rem;
    }

    .disclaimer {
        font-size: 0.9rem;
        padding: 0.4rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 0.4rem 0.05rem;
        max-width: 100vw;
    }

    h1 {
        font-size: 0.95rem;
    }

    .navbar {
        padding: 0.2rem 0.05rem;
    }

    .custom-dropdown-selected,
    .custom-dropdown-item {
        font-size: 0.92rem;
        padding: 0.6rem 0.3rem;
    }

    label {
        font-size: 0.95rem;
    }

    button {
        font-size: 0.95rem;
        padding: 0.7rem;
    }

    .footer {
        font-size: 0.95rem;
        padding: 1rem 0.2rem 0.5rem 0.2rem;
    }

    .footer-content {
        gap: 0.7rem;
    }
}