
:root {
    --avm-glass-bg: rgba(255, 255, 255, 0.85);
    --avm-glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --avm-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    --avm-accent: #f26522;
    --avm-text: #464855;
}

@keyframes avmBounceIn {
    0% { opacity: 0; transform: translateY(30px); }
    60% { opacity: 1; transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.avm-config-root {
    display: flex;
    flex-direction: column;
    font-family: inherit;
    color: var(--avm-text);
    box-sizing: border-box;
}

.avm-config-root * {
    box-sizing: inherit;
}








.avm-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: stretch; /* Forces all grid items to equal height */
}

.avm-panel {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column; /* Establishes internal vertical flex */
    height: 100%; /* Commands the panel to fill the stretched grid cell */
}












.avm-panel:nth-child(2) { animation-delay: 0.1s; }
.avm-panel:nth-child(3) { animation-delay: 0.2s; }

/* Typography & Layout */
.avm-section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: #464855;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.avm-inline-toggle {
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: #a0a0a0;
    cursor: pointer;
    transition: color 0.2s;
}

.avm-inline-toggle.active {
    color: #464855;
    font-weight: 500;
}

.avm-inline-toggle:hover {
    color: #3366FF;
}

.avm-divider {
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin: 12px 0 20px 0;
}

.avm-info-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    color: #464855;
}

.avm-icon-col {
    display: flex;
    flex-direction: column;
    padding-top: 4px;
    min-width: 24px;
    text-align: center;
}

.avm-info-text {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.avm-minimal-input-row {
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
}

.avm-minimal-input-row input {
    width: 120px;
    padding: 2px 0;
    border: none;
    border-bottom: 1px dashed rgba(0,0,0,0.2);
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
    margin-right: 8px;
    text-align: right;
}

.avm-minimal-input-row input:focus {
    border-bottom: 1px solid #3366FF;
}

.avm-specs-subtext {
    font-size: 0.9em;
    color: #6c757d;
}

.avm-val-text {
    font-weight: 600;
    color: #464855;
}

.avm-option-line {
    display: flex;
    justify-content: flex-start;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.avm-option-line:hover {
    color: #3366FF;
}

/* Simplified Lamp Cards */
.avm-lamp-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.avm-lamp-card:hover {
    background: #fff;
    border-color: #adb5bd;
}

.avm-lamp-card[aria-selected="true"] {
    background: #fff;
    border-color: var(--avm-accent);
    box-shadow: 0 0 0 2px rgba(242, 101, 34, 0.2);
}

.avm-total-val {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--avm-accent);
}

.avm-btn {
    background: var(--avm-accent);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
    width: 100%;
}

.avm-btn:hover:not(:disabled) {
    background: #d9561a;
}

.avm-btn:disabled {
    background: #adb5bd;
    cursor: not-allowed;
}











/* Prevent icons from squeezing */
.avm-icon-col {
    flex-shrink: 0;
    width: 24px;
}

/* Correct HR Visibility */
.avm-divider {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin: 15px 0;
}

/* Match Contact Box Glass & Animate */
.avm-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    animation: avmFadeUp 0.6s ease-out forwards;
}

/* Stagger column entrance */
.avm-panel:nth-child(1) { animation-delay: 0.1s; }
.avm-panel:nth-child(2) { animation-delay: 0.2s; }
.avm-panel:nth-child(3) { animation-delay: 0.3s; }

@keyframes avmFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}