* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}

.access-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.access-card {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.access-card h1 {
    text-align: center;
    margin-bottom: 8px;
}

.access-card > p {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: 600;
    margin-top: 10px;
}

input {
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

button {
    margin-top: 20px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #111;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    opacity: 0.85;
}

.error {
    color: #c62828;
    text-align: center;
    min-height: 20px;
}

.home-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
}

.home-header {
    text-align: center;
    margin-bottom: 40px;
}

.home-header h1 {
    font-size: 32px;
}

.home-header p {
    color: #777;
    margin-top: 8px;
}

.search-section {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.search-section h2 {
    margin-bottom: 20px;
}

#searchForm {
    display: flex;
    gap: 10px;
}

#searchForm input {
    flex: 1;
}

#searchForm button {
    margin-top: 0;
}

.home-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 25px;
}

.home-actions button {
    margin-top: 0;
    padding: 18px;
}

@media (min-width: 600px) {

    .home-actions {
        grid-template-columns: 1fr 1fr;
    }

    .home-actions button:first-child {
        grid-column: span 2;
    }

}

.costume-result {
    margin-top: 25px;
}

.costume-result h2 {
    margin-bottom: 20px;
}

.location-card {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
}

.location-card h3 {
    margin-bottom: 12px;
}

.size-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.size-row:last-child {
    border-bottom: none;
}

.total {
    padding: 15px 0;
    font-size: 18px;
}

.result-buttons {
    display: flex;
    gap: 10px;
}

.result-buttons button {
    flex: 1;
    margin-top: 0;
}

.no-results {
    margin-top: 20px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 12px;
    text-align: center;
}

.page {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px 20px;
}

.page-header {
    margin-bottom: 25px;
}

.page-header h1 {
    margin-top: 15px;
}

.back-button {
    margin: 0;
    padding: 8px 14px;
    background: transparent;
    color: #222;
    border: 1px solid #ccc;
}

.form-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-card h2 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.location-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.location-option {
    margin: 0;
}

.location-option input {
    display: none;
}

.location-option span {
    display: block;
    padding: 14px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.location-option input:checked + span {
    border-color: #111;
    background: #111;
    color: white;
}

.quantity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quantity-grid label {
    margin: 0;
}

.quantity-grid input {
    width: 100%;
    margin-top: 6px;
}

.form-message {
    text-align: center;
    margin-top: 15px;
    min-height: 20px;
}

/* ========================================
   BACK ROOM
======================================== */

.view-all-button {
    width: 100%;
    margin-top: 0;
    margin-bottom: 25px;
}

.backroom-section {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.backroom-section h2 {
    margin-bottom: 20px;
}

.backroom-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.location-button {
    margin: 0;
    min-height: 70px;
    font-size: 18px;
}

.location-contents {
    margin-top: 25px;
}

.backroom-costume {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.backroom-costume:last-child {
    border-bottom: none;
}

.backroom-costume h3 {
    margin-bottom: 10px;
}

.backroom-costume {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.backroom-costume:last-child {
    border-bottom: none;
}

.backroom-costume h3 {
    margin-bottom: 10px;
}

.action-gap {
    height: 30px;
}

/* ========================================
   VIEW ALL
======================================== */

.print-button {
    width: 100%;
    margin-top: 0;
    margin-bottom: 25px;
}

.all-inventory {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.all-costume {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.all-costume > h2 {
    margin-bottom: 15px;
}

.all-location {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.all-location h3 {
    margin-bottom: 10px;
}


/* ========================================
   PRINT
======================================== */

@media print {

    body {
        background: white;
    }

    .no-print {
        display: none !important;
    }

    .page {
        max-width: none;
        padding: 0;
    }

    .all-inventory {
        gap: 10px;
    }

    .all-costume {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .all-location {
        background: white;
        border: 1px solid #ddd;
    }

}

/* ========================================
   VIEW ALL - DROPDOWN LIST
======================================== */

.all-inventory {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.costume-dropdown {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}


.costume-dropdown-header {
    width: 100%;
    margin: 0;
    padding: 18px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: white;
    color: #222;

    border: none;
    border-radius: 0;

    font-size: 18px;
    font-weight: 700;

    text-align: left;
}


.costume-dropdown-header:hover {
    opacity: 1;
    background: #f7f7f7;
}


.dropdown-arrow {
    font-size: 14px;
    transition: transform 0.2s ease;
}


.costume-dropdown.open
.dropdown-arrow {
    transform: rotate(180deg);
}


.costume-dropdown-content {
    display: none;
    padding: 0 20px 20px;
}


.costume-dropdown.open
.costume-dropdown-content {
    display: block;
}


.all-location {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}


.all-location h3 {
    margin-bottom: 10px;
}

/* ========================================
   EDIT COSTUME
======================================== */

.edit-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.edit-location-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.edit-location-card h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.edit-quantity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.edit-quantity-grid label {
    margin: 0;
}

.edit-quantity-grid input {
    width: 100%;
    margin-top: 6px;
}

.save-location-button {
    width: 100%;
    margin-top: 20px;
}

.delete-location-button {
    width: 100%;
    margin-top: 10px;
    background: transparent;
    color: #c62828;
    border: 1px solid #c62828;
}

.edit-message {
    text-align: center;
    min-height: 20px;
    margin-top: 12px;
}

/* ========================================
   SEARCH RESULT HEADER
======================================== */

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.result-header h2 {
    margin: 0;
}

.close-result {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    color: #777;

    border: none;
    border-radius: 8px;

    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.close-result:hover {
    background: #f1f1f1;
    color: #222;
    opacity: 1;
}

/* ========================================
   HISTORY
======================================== */

.history-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.history-date {
    color: #777;
    font-size: 14px;
    margin-bottom: 6px;
}

.history-user {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 18px;
}

.history-action h3 {
    margin-bottom: 8px;
}

.history-location {
    color: #555;
    margin-bottom: 12px;
}

.history-change {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.history-change strong {
    font-weight: 700;
}

.change-number {
    margin-left: auto;
    font-size: 20px;
}

.history-added-quantities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.history-added-quantities span {
    background: #f1f1f1;
    padding: 8px 12px;
    border-radius: 8px;
}

.history-added-quantities strong {
    margin-left: 6px;
}

/* ========================================
   SIZE LIST
======================================== */

.size-section {
    margin-top: 25px;
}

.size-section h2 {
    margin-bottom: 12px;
}

.dynamic-size-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dynamic-size-row {
    display: grid;
    grid-template-columns: 1fr 110px 40px;
    align-items: center;
    gap: 10px;

    padding: 10px 12px;

    background: #f7f7f7;
    border-radius: 10px;
}

.size-name {
    font-weight: 600;
}

.size-quantity {
    width: 100%;
    margin: 0;
    padding: 10px;
}

.remove-size {
    width: 40px;
    height: 40px;

    margin: 0;
    padding: 0;

    background: transparent;
    color: #777;

    font-size: 24px;
    font-weight: 400;

    border: none;
}

.remove-size:hover {
    background: #e9e9e9;
    color: #222;
    opacity: 1;
}

.custom-size-section {
    margin-top: 12px;
}

.secondary-button {
    margin-top: 0;

    background: transparent;
    color: #222;

    border: 1px solid #ccc;
}

.secondary-button:hover {
    background: #f1f1f1;
    opacity: 1;
}


@media (max-width: 500px) {

    .dynamic-size-row {
        grid-template-columns: 1fr 100px 40px;
    }

}

/* ========================================
   QUANTITY CONTROLS
======================================== */

.dynamic-size-row {
    display: grid;

    grid-template-columns:
        1fr
        80px
        42px
        42px;

    align-items: center;

    gap: 8px;

    padding: 8px 10px;

    background: #f7f7f7;

    border-radius: 10px;
}


.size-name {
    font-weight: 600;

    min-width: 0;
}


.size-quantity {
    width: 100%;

    margin: 0;

    padding: 9px;

    text-align: center;

    appearance: textfield;
    -moz-appearance: textfield;
}


/* Remove Safari / Chrome number arrows */

.size-quantity::-webkit-inner-spin-button,
.size-quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;

    margin: 0;
}


/* ========================================
   PLUS / MINUS
======================================== */

.quantity-minus,
.quantity-plus {
    width: 42px;
    height: 42px;

    margin: 0;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    font-size: 20px;

    line-height: 1;
}


.quantity-minus {
    background: #e8e8e8;

    color: #222;
}


.quantity-plus {
    background: #111;

    color: white;
}


.quantity-minus:hover,
.quantity-plus:hover {
    opacity: 0.8;
}


/* ========================================
   CUSTOM SIZE REMOVE BUTTON
======================================== */

.remove-size {
    width: 42px;
    height: 42px;

    margin: 0;

    padding: 0;

    background: transparent;

    color: #777;

    border: 1px solid #ddd;

    border-radius: 8px;

    font-size: 20px;
}


.remove-size:hover {
    background: #e8e8e8;

    color: #222;

    opacity: 1;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 500px) {

    .dynamic-size-row {

        grid-template-columns:
            1fr
            70px
            38px
            38px;

        gap: 6px;

        padding: 8px;

    }


    .quantity-minus,
    .quantity-plus {

        width: 38px;

        height: 38px;

    }

}

/* ========================================
   EDIT PAGE
======================================== */

.edit-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edit-location {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.edit-location h2 {
    margin-bottom: 20px;
}

.edit-location h3 {
    margin-top: 25px;
    margin-bottom: 12px;
}

.edit-size-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edit-add-size {
    margin-top: 12px;
}

.save-edit-button {
    margin-top: 5px;
}

/* ========================================
   DELETE BUTTON
======================================== */

.delete-costume-button {
    width: 100%;
    margin-top: 10px;
    background: #d32f2f;
    color: white;
}

.delete-costume-button:hover {
    background: #b71c1c;
    opacity: 1;
}

/* ========================================
   EDIT PAGE HEADER
======================================== */

.edit-page-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.edit-back-button {
    width: auto;
    padding: 8px 14px;
    font-size: 14px;
}

.edit-page-header h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}


/* ========================================
   DELETE COSTUME
======================================== */

.delete-section {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.delete-section-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
}

.delete-section-text {
    margin: 0 0 12px;
    font-size: 13px;
    color: #777;
}

.delete-costume-button {
    width: 100%;
    background: #d32f2f;
    color: white;
    border: none;
}

.delete-costume-button:hover {
    background: #b71c1c;
    opacity: 1;
}

/* ========================================
   EDIT PAGE
======================================== */

.edit-page-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.edit-back-button {
    flex-shrink: 0;
    width: auto;
    padding: 7px 12px;
    font-size: 13px;
}

.edit-page-header h1 {
    margin: 0;
    font-size: 25px;
    line-height: 1.1;
}


/* ========================================
   LOCATION CARD
======================================== */

.edit-location {
    padding: 18px 20px;
}

.edit-location > h2 {
    margin: 0 0 16px;
    font-size: 20px;
}


/* ========================================
   LOCATION TYPE
======================================== */

.edit-location > label {
    display: block;
    margin: 0 0 7px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.location-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 16px;
}

.location-options .location-option {
    margin: 0;
}

.location-options .location-option:first-child span {
    border-radius: 9px 0 0 9px;
}

.location-options .location-option:last-child span {
    border-radius: 0 9px 9px 0;
}

.location-options .location-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border: 1px solid #d5d5d5;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
}

.location-options .location-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.location-options .location-option input:checked + span {
    background: #111;
    color: #fff;
    border-color: #111;
}


/* ========================================
   LOCATION INPUT
======================================== */

.edit-location-input {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    margin-bottom: 18px;
}


/* ========================================
   DELETE COSTUME
======================================== */

.delete-section {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.delete-section-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
}

.delete-section-text {
    margin: 0 0 12px;
    font-size: 13px;
    color: #777;
}

.delete-costume-button {
    width: 100%;
    background: #d32f2f;
    color: white;
    border: none;
}

.delete-costume-button:hover {
    background: #b71c1c;
    opacity: 1;
}

.edit-page-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

/* ========================================
   HOME INVENTORY BUTTONS
======================================== */

.inventory-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.inventory-buttons button {
    width: 100%;
}

.view-all-button {
    width: 100%;
    margin-top: 10px;
}

/* ========================================
   HOME INVENTORY SPACING
======================================== */

.home-navigation {
    margin-top: 28px;
}

.section-label {
    margin-bottom: 10px;
}

.inventory-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.inventory-buttons button {
    width: 100%;
}

.view-all-button {
    width: 100%;
    margin-top: 10px;
}


/* ========================================
   ADD COSTUME
======================================== */

.add-costume-section {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.add-costume-button {
    width: 100%;
}

.add-costume-button {
    width: 75% !important;
    display: block;
    margin: 0 auto;
}

.add-costume-button {
    width: 100% !important;
}

.add-costume-button {
    width: 100% !important;
    display: block;
}

.add-costume-button {
    width: 100% !important;
    height: 52px !important;
    background: #2e7d32 !important;
    color: white !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
}

.add-costume-button:hover {
    background: #256628 !important;
}

.section-label {
    text-align: center;
    margin-bottom: 10px;
}

/* ========================================
   SEARCH RESULT - CLEANUP
======================================== */

.costume-result {
    margin-top: 18px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
}


/* RESULT HEADER */

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.result-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.close-result {
    width: 32px !important;
    height: 32px;
    padding: 0 !important;
    border: none;
    background: transparent !important;
    color: #888;
    font-size: 24px;
    font-weight: 400;
}

.close-result:hover {
    color: #111;
}


/* LOCATION */

.location-card {
    margin-bottom: 12px;
    padding: 14px;
    background: #f7f7f7;
    border-radius: 11px;
}

.location-card h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
}


/* SIZE + QUANTITY */

.size-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
}

.size-row:first-of-type {
    border-top: none;
}

.size-row strong {
    font-size: 14px;
}


/* TOTAL */

.total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 14px;
    padding: 12px 0;
    border-top: 1px solid #ddd;
    font-size: 13px;
    font-weight: 700;
}

.total strong {
    font-size: 18px;
}


/* EDIT + HISTORY */

.result-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.result-buttons button {
    width: 100%;
    height: 42px;
    margin: 0 !important;
    border-radius: 9px;
}

/* ========================================
   MASTER INVENTORY HISTORY
======================================== */

.master-history-button {
    width: 100% !important;
    height: 46px;
    margin-top: 8px;
}


/* PAGE */

.master-history-page {
    padding-bottom: 40px;
}


/* DATE */

.history-date {
    margin: 24px 0 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #888;
}

.history-date:first-child {
    margin-top: 0;
}


/* ENTRY */

.master-history-entry {
    padding: 14px 15px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
}


/* MAIN TEXT */

.history-entry-main {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
    line-height: 1.4;
}

.history-entry-main strong {
    font-weight: 700;
}


/* DETAILS */

.history-entry-detail {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
}


/* TIME */

.history-entry-time {
    margin-top: 7px;
    font-size: 11px;
    color: #999;
}

/* ========================================
   CLEAN INVENTORY NAVIGATION
======================================== */

.home-navigation {
    width: 100%;
}

.inventory-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.inventory-buttons button {
    width: 100%;
}

.view-all-button {
    width: 100%;
    margin-top: 8px;
}

.master-history-button {
    width: 100% !important;
    margin-top: 8px;
}

.master-history-button + button {
    width: 100%;
    margin-top: 8px;
}

.master-history-button {
    width: 100% !important;
    margin-top: 8px;
}

.add-costume-button {
    width: 100% !important;
    margin-top: 28px !important;
}

.master-history-button {
    width: 100% !important;
    margin-top: 24px;
    background: transparent !important;
    color: #777 !important;
    border: none !important;
    font-size: 12px;
    font-weight: 600;
}

.master-history-button:hover {
    color: #111 !important;
}

.master-history-button {
    width: 100% !important;
    margin-top: 12px !important;
    background: transparent !important;
    color: #777 !important;
    border: none !important;
    font-size: 12px;
    font-weight: 600;
}

.master-history-button:hover {
    background: transparent !important;
    color: #111 !important;
}

.add-costume-button {
    width: 100% !important;
    margin-top: 28px !important;
}

.add-costume-button {
    width: 100% !important;
    margin-top: 28px !important;
}

.master-history-button {
    width: 100% !important;
    margin-top: 18px !important;
    background: transparent !important;
    color: #777 !important;
    border: none !important;
    font-size: 12px;
    font-weight: 600;
}

.master-history-button:hover {
    background: transparent !important;
    color: #111 !important;
}

/* ========================================
   BUG REPORT
======================================== */

.bug-report-area {
    margin-top: 28px;
    text-align: center;
}

.report-bug-button {
    background: transparent !important;
    border: none !important;
    color: #999 !important;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 12px;
}

.report-bug-button:hover {
    color: #555 !important;
}


/* MODAL */

.bug-report-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.45);
}

.bug-report-modal[hidden] {
    display: none;
}


/* BOX */

.bug-report-box {
    position: relative;

    width: 100%;
    max-width: 360px;

    padding: 24px;

    background: white;
    border-radius: 16px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.bug-report-box h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.bug-report-box p {
    margin: 0 0 16px;
    color: #777;
    font-size: 13px;
}


/* CLOSE */

.bug-report-close {
    position: absolute;
    top: 10px;
    right: 12px;

    width: 32px !important;
    height: 32px;

    padding: 0 !important;

    background: transparent !important;
    border: none !important;

    color: #888;
    font-size: 24px;
}


/* TEXTAREA */

#bugDescription {
    width: 100%;
    min-height: 120px;

    padding: 12px;

    border: 1px solid #ddd;
    border-radius: 10px;

    resize: vertical;

    font-family: inherit;
    font-size: 14px;

    box-sizing: border-box;
}

#bugDescription:focus {
    outline: none;
    border-color: #999;
}


/* SUBMIT */

.bug-submit-button {
    width: 100%;
    margin-top: 12px;
}


/* MESSAGE */

.bug-report-message {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    text-align: center;
}

/* ========================================
   BOTTOM UTILITY LINKS
======================================== */

.utility-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 24px;
}

.utility-links button {
    width: auto !important;
    padding: 6px 2px !important;

    background: transparent !important;
    border: none !important;

    color: #888 !important;

    font-size: 11px;
    font-weight: 600;
}

.utility-links button:hover {
    background: transparent !important;
    color: #222 !important;
}

.utility-links span {
    color: #bbb;
    font-size: 12px;
}


.quantity-button,
.dynamic-size-row button {
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

button {
    touch-action: manipulation;
}