/* Custom package styles for product templates */

#custom-item-form {
    max-width: 600px;
    margin: 0 auto;
}

#custom-item-form .form_row {
    margin-bottom: 1.5em;
}

#custom-item-form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: #191f26;
}

#custom-item-form input,
#custom-item-form input[type="text"],
#custom-item-form input[type="number"],
#custom-item-form input[type="tel"],
#custom-item-form input[type="email"],
#custom-item-form select,
#custom-item-form textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c6c7c9;
    border-radius: 3px;
    font-size: 16px;
    font-family: "Fira Sans", sans-serif;
    color: #5c5e62;
    background-color: #fff;
    transition: border-color 0.2s;
	margin-bottom: 0.5em;
}

#custom-item-form input:focus,
#custom-item-form select:focus,
#custom-item-form textarea:focus {
    border-color: #168eea;
    outline: none;
}

#custom-item-form .price-display {
    margin-top: 2em;
    padding: 1.5em;
    background-color: #f7f7f8;
    border-radius: 3px;
    border-left: 4px solid #fbb030;
}

#custom-item-form .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5em;
}

#custom-item-form .price-row:last-child {
    margin-bottom: 0;
    padding-top: 0.5em;
    border-top: 1px solid #e8e9e9;
    margin-top: 0.5em;
}

#custom-item-form .price-label {
    font-weight: 600;
    color: #191f26;
}

#custom-item-form .price-value {
    font-size: 1.25em;
    font-weight: 700;
    color: #168eea;
}

#custom-item-form button[type="submit"] {
    display: block;
    width: 100%;
    margin-top: 2em;
    padding: 14px;
    border: 0;
    border-radius: 3px;
    background-color: #168eea;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

#custom-item-form button[type="submit"]:hover {
    background-color: #116fb8;
}

/* Field grouping for better layout */
#custom-item-form .field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5em;
}

@media (max-width: 480px) {
    #custom-item-form .field-group {
        grid-template-columns: 1fr;
    }
}
