/* Koombiyo Delivery Styles */
.koombiyo-delivery-section {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.koombiyo-api-settings {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.koombiyo-api-settings h4 {
    margin-top: 0;
    color: #333;
}

.api-key-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.api-key-input-group input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.api-key-input-group button {
    padding: 8px 15px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.api-key-input-group button:hover {
    background: #005a87;
}

.test-connection-btn {
    background: #00a32a !important;
}

.test-connection-btn:hover {
    background: #008a20 !important;
}

.dispatch-koombiyo-btn {
    background: #ff6900;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dispatch-koombiyo-btn:hover {
    background: #e55a00;
}

.dispatch-koombiyo-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.koombiyo-mapping-info {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-top: 15px;
}

.koombiyo-mapping-info h4 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.mapping-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.mapping-table th,
.mapping-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.mapping-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.mapping-table td:first-child {
    font-weight: 500;
    color: #0073aa;
}

/* Notifications */
.opm-notification {
    position: fixed;
    top: 32px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.opm-notification-success {
    background: #00a32a;
}

.omp-notification-error {
    background: #d63638;
}

.opm-notification-info {
    background: #0073aa;
}

.opm-notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
    padding: 0;
    line-height: 1;
}

.opm-notification-close:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .api-key-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dispatch-koombiyo-btn {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .opm-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}