/* ── Column Panel Header ── */

.col-panel-header {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ── BioEnviro Brand / Typography ── */

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

.brand-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #4caf8a, #5bc8f5) 1;
}

.brand-icon-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(135deg, #4caf8a, #a8d8a8);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.logo span.bio {
    color: #4caf8a;
}

.logo span.enviro {
    color: #a8d8a8;
}

.logo span.ai {
    color: #4caf8a;
}

.tagline {
    font-size: 0.7rem;
    color: #7ab09a;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.message {
    font-size: 1.4rem;
    font-weight: 300;
    color: #c8e6c9;
    margin-bottom: 1rem;
}

.sub-message {
    font-size: 0.95rem;
    color: #6a9a7a;
    line-height: 1.7;
}

.dots {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf8a;
    animation: pulse 1.5s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.3s; background: #5bc8f5; }
.dot:nth-child(3) { animation-delay: 0.6s; background: #a8d8a8; }

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ── Product Card ── */

.product-card {
    border: 1px solid #3a9a78;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-card-header {
    background: linear-gradient(135deg, #2d7a5a, #3a9a78);
    color: #fff;
    padding: 0.6rem 0.75rem;
}

.product-card-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.product-card-meta {
    font-size: 0.78rem;
    opacity: 0.88;
    margin-top: 0.2rem;
}

.product-stock.in-stock  { color: #a8f0cc; }
.product-stock.out-of-stock { color: #ffb3b3; }

.product-card-body {
    background-color: #f8fffe;
    padding: 0.75rem;
    font-size: 0.88rem;
    line-height: 1.6;
}

#product-order-summary {
    background-color: #f0faf4;
    margin: 0.75rem -0.75rem -0.75rem;
    padding: 0.65rem 0.75rem;
    border-top: 1px solid #c8e8d8;
}

/* ── Product Option Widgets ── */

.options-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #3a9a78;
    margin: 0.75rem 0 0.35rem;
}

.option-widget .accordion-button {
    font-size: 0.88rem;
    padding: 0.5rem 0.75rem;
    background-color: #f0faf4;
    color: #1a3a2a;
}

.option-widget .accordion-button:not(.collapsed) {
    background-color: #d8f0e4;
    color: #1a3a2a;
    box-shadow: none;
}

.option-widget .accordion-button::after {
    margin-left: 0.5rem;
}

.option-price {
    background-color: #4caf8a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 4px;
    padding: 0.2em 0.55em;
    flex-shrink: 0;
}

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

.option-widget .accordion-body {
    font-size: 0.85rem;
    padding: 0.65rem 0.75rem;
    background-color: #f8fffe;
}

.btn-option-add {
    background-color: #4caf8a;
    border-color: #3a9a78;
    color: #fff;
    font-size: 0.82rem;
}

.btn-option-add:hover {
    background-color: #3a9a78;
    border-color: #2e8060;
    color: #fff;
}

/* Option header — styled div replacing the native button */
.option-header-row {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a3a2a;
    background-color: #f0faf4;
    cursor: pointer;
    user-select: none;
    gap: 0.5rem;
    border: 0;
    border-radius: 0;
    transition: background-color 0.15s ease;
}

.option-header-row:hover {
    background-color: #e4f5ec;
}

.option-header-row.expanded {
    background-color: #d8f0e4;
}

/* Replicate Bootstrap's accordion chevron arrow */
.option-toggle-arrow {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3a2a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease;
}

.option-header-row.expanded .option-toggle-arrow {
    transform: rotate(-180deg);
}

/* Checkbox on the right */
.option-header-row .option-checkbox {
    width: 1.15em;
    height: 1.15em;
    cursor: pointer;
    flex-shrink: 0;
    border-color: #4caf8a;
}

.option-header-row .option-checkbox:checked {
    background-color: #4caf8a;
    border-color: #4caf8a;
}

/* Qty / price row in accordion body */
.option-qty-row {
    font-size: 0.85rem;
}

/* Order summary below options */
#product-order-summary {
    font-size: 0.875rem;
    border-radius: 0;
}

.btn-order-submit {
    background: linear-gradient(135deg, #2d7a5a, #3a9a78);
    border-color: #2d7a5a;
    color: #fff;
    font-weight: 600;
}

.btn-order-submit:hover {
    background: linear-gradient(135deg, #246649, #2d7a5a);
    border-color: #246649;
    color: #fff;
}

.summary-option-row {
    padding-left: 0.5rem;
}

/* ── Product Select ── */

#product-select option {
    background-color: #fff;
    color: #212529;
}

/* ── Monitor App ── */

.shrink-cell {
    width: 1%;
    white-space: nowrap;
}

.truncate-cell {
    max-width: 160px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.img-rotated {
    transform: rotate(180deg);
}

#take_picture_button {
    background-color: #a8d8a8;
    border-color: #8cc48c;
    color: #1a3a1a;
}

#take_picture_button:hover:not(:disabled) {
    background-color: #8cc48c;
    border-color: #70b070;
    color: #1a3a1a;
}

#myImage {
    background-color: #888;
    max-width: 100%;
    height: auto;
    display: block;
}
