.otbp-tracker-form {
    max-width: 600px;
    margin: 0 auto;
}

.otbp-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.otbp-modal-content {
    margin: 5% auto;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.otbp-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.otbp-close:hover {
    color: black;
}

.otbp-order {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.otbp-order-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.otbp-status-completed {
    background-color: #dff0d8;
    color: #3c763d;
}

.otbp-status-processing {
    background-color: #d9edf7;
    color: #31708f;
}

.otbp-status-on-hold {
    background-color: #fcf8e3;
    color: #8a6d3b;
}

.otbp-status-pending {
    background-color: #f5f5f5;
    color: #555;
}

.otbp-status-failed,
.otbp-status-cancelled,
.otbp-status-refunded {
    background-color: #f2dede;
    color: #a94442;
}

.otbp-order-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.otbp-order-item-image {
    width: 60px;
    margin-right: 15px;
}

.otbp-order-item-image img {
    max-width: 100%;
    height: auto;
}

.otbp-order-item-details {
    flex: 1;
}

.otbp-order-totals {
    width: 100%;
    margin-top: 15px;
}

.otbp-order-totals th {
    text-align: left;
    padding: 5px 10px;
}

.otbp-order-totals td {
    text-align: right;
    padding: 5px 10px;
}

.otbp-total-row {
    font-weight: bold;
}

.otbp-customer-details address {
    font-style: normal;
}

.otbp-view-order-button {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .otbp-order-item {
        flex-direction: column;
    }
    
    .otbp-order-item-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .otbp-modal-content {
        width: 95%;
        margin: 10% auto;
    }
}