.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    padding-right: 0px !important;
    padding-left: 0px !important;
    margin-right: auto;
    margin-left: auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
}

.modal-backdrop {
    z-index: 1 !important;
}

.modal-dialog {
    max-width: 50% !important;
}

@media (max-width: 575.98px) {
    .modal-dialog {
        max-width: 94% !important;
    }
}

/* Container Styles */
.tracking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Form Styles */
.tracking-form-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease-in-out;
}

.tracking-form-header h4 {
    color: #333;
    margin-bottom: 10px;
}

.tracking-form-subtitle {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.tracking-form textarea.form-control {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tracking-submit {
    background-color: #ff6b00;
    border-color: #ff6b00;
    padding: 8px 30px;
}

.tracking-submit:hover {
    background-color: #e66000;
    border-color: #e66000;
}

.tracking-reset {
    background-color: #6c757d;
    border-color: #6c757d;
    padding: 8px 30px;
}

/* Multiple Results Table Styles */
.tracking-results-table {
    margin-top: 20px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background-color: #ff6b00;
}

.table th {
    color: #fff;
    font-weight: normal;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
}

.table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    vertical-align: middle;
}

.table tr:hover {
    background-color: #f8f9fa;
}

.shipment-link {
    color: #ff6b00;
    text-decoration: none;
}

.shipment-link:hover {
    text-decoration: underline;
    color: #e66000;
}

.table-footer {
    padding: 10px 15px;
    color: #666;
    font-size: 13px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

/* Back button styles */
.back-button-row td {
    border: none !important;
    background: #fff;
    padding: 15px !important;
}

.btn.back-to-form {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 3px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
}

.btn.back-to-form:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

/* Logo Styles */
.tracking-form-header img {
    max-width: 15%;
    height: auto;
    margin-bottom: 1.5rem;
}

.tlx-logo {
    max-width: 15% !important;;
    height: auto;
    margin-right: 20px;
}

/* Single Result Styles */
.tracking-result-detail {
    margin-top: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.back-button-container.mb-3 {
    width: 100% !important;
}

.tracking-info-header {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    width: 50%;
}

.tracking-result-title {
    font-size: 1.5em;
    color: #ff6b00;
    margin-bottom: 20px;
}

.tracking-info-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    align-items: center;
}

.info-label {
    font-weight: bold;
    margin-right: 10px;
    min-width: 120px;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.contact-details {
    color: #666;
}

/* Timeline Styles */
.tracking-timeline {
    padding: 20px;
    width: 50%;
}

.timeline-wrapper {
    position: relative;
}

.timeline-item {
    position: relative;
    padding: 10px 0;
}

.timeline-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-left: 15px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: #ff6b00;
    border-radius: 50%;
}

.timeline-date {
    color: #ff6b00;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.timeline-status {
    color: #666;
}

/* Loading Indicator */
.loading {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #ff6b00;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .tracking-info-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .tracking-submit,
    .tracking-reset {
        width: 100%;
    }

    .timeline-content {
        margin-left: 15px;
    }
	.tracking-timeline {
		padding: 20px;
		width: 100%;
	}
	.tracking-info-header {
		width: 100%;
	}
	.tracking-result-detail {
		display: flex;
    	flex-direction: column;
	}
} 