/* ============================================================
   DAMALION BOTTOM PANEL - Salesforce MIAW exact dimensions
   Desktop only. Does NOT modify any existing chat styles.
   ============================================================ */

.damalion-bottom-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #FFA000 0%, #E65100 100%);
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.damalion-bottom-panel.dbp-open {
    transform: translateY(0);
}

.dbp-inner {
    max-width: 850px;
    margin: 0 auto;
    padding: 16px 24px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dbp-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 12px;
}

.dbp-input-row {
    display: flex;
    align-items: center;
    flex: 1;
    background: #fff;
    border-radius: 26px;
    height: 52px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}

.dbp-sparkle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    color: #E65100;
    font-size: 18px;
}

.dbp-input-row input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 4px;
    height: 52px;
    font-size: 15px;
    color: #333;
    background: transparent;
}

.dbp-input-row input::placeholder {
    color: #999;
}

.dbp-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #FFA000, #E65100);
    border: none;
    border-radius: 50%;
    margin-right: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dbp-send:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.dbp-send svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.dbp-minimize {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.20);
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.dbp-minimize:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: #fff;
}

.dbp-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.dbp-action {
    height: 36px;
    padding: 0 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dbp-action:hover {
    background: rgba(255, 255, 255, 0.30);
    border-color: #fff;
}

.damalion-bottom-panel[dir="rtl"] .dbp-send {
    margin-right: 0;
    margin-left: 6px;
}

@media (max-width: 768px) {
    .damalion-bottom-panel {
        display: none !important;
    }
}
