/* Expose Widget Styles */
.expose-widget {
    width: 100%;
}

.expose-item {
    position: relative;
    transition: all 0.3s ease;
}

.expose-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.expose-header-inline .expose-header-left {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.expose-header-column .expose-header-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.expose-header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.expose-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.expose-date {
    font-size: 14px;
    font-weight: 400;
    flex-shrink: 0;
    display: inline-block;
}

.expose-description {
    line-height: 1.6;
}

.expose-more-button-wrapper {
    display: flex;
}

.expose-button {
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.expose-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.expose-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.expose-button-icon i {
    font-size: inherit;
}

.expose-button-text {
    display: inline-block;
}

.expose-more-button {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.expose-more-button:hover {
    background-color: #007bff;
    color: #ffffff;
}

.expose-more-button.active {
    background-color: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
}

.expose-more-button.active:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.expose-expanded-content {
    display: none;
}

.expose-expanded-content p:first-child {
    margin-top: 0;
}

.expose-expanded-content p:last-child {
    margin-bottom: 0;
}

/* Responsywność */
@media (max-width: 768px) {
    .expose-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .expose-header-left {
        width: 100%;
    }
    
    .expose-header-right {
        width: 100%;
    }
    
    .expose-button {
        width: 100%;
        text-align: center;
    }
    
    .expose-title {
        font-size: 18px;
    }
    
    /* Force column layout on mobile */
    .expose-header-inline .expose-header-left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Remove separators on mobile */
    .expose-header-inline .expose-order-date-title .expose-date::after,
    .expose-header-inline .expose-order-title-date .expose-title::after {
        content: "";
        margin: 0;
    }
}

@media (max-width: 480px) {
    .expose-title {
        font-size: 16px;
    }
    
    .expose-date {
        font-size: 12px;
    }
}
