/* গুগল ফন্টস ইমপোর্ট */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* গ্রেডিয়েন্ট ব্যাকগ্রাউন্ড */
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95); /* সেমি-ট্রান্সপারেন্ট হোয়াইট */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* সফট শ্যাডো */
    overflow: hidden;
}

.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #800080 0%, #ff6b6b 100%); /* পার্পল-রেড গ্রেডিয়েন্ট */
    color: white;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    font-weight: 300;
}

.search-form {
    padding: 30px;
    text-align: center;
}

.input-group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.input-group input {
    flex: 1;
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 50px; /* রাউন্ডেড */
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.input-group input:focus {
    box-shadow: 0 0 0 3px rgba(128, 0, 128, 0.3); /* ফোকাস ইফেক্ট */
}

.input-group button {
    padding: 15px 25px;
    font-size: 16px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.results {
    padding: 30px;
}

.results h2 {
    text-align: center;
    color: #800080;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.table-wrapper {
    overflow-x: auto; /* রেসপন্সিভ স্ক্রল */
}

.courier-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.courier-table th {
    background: linear-gradient(135deg, #800080 0%, #9b59b6 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.courier-table td {
    padding: 15px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.courier-table tr:hover {
    background-color: #f8f9fa; /* হোভার ইফেক্ট */
    transform: scale(1.01); /* সামান্য জুম */
}

.courier-name {
    text-align: left !important;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.courier-name img {
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 50%; /* লোগো রাউন্ড */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-weight: 600;
}

.cancelled {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: white;
    font-weight: 600;
}

.total-row {
    font-weight: bold;
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: #333;
}

.total-row td {
    font-size: 1.1em;
}

.error-message {
    text-align: center;
    padding: 30px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 10px;
    margin: 20px;
}

/* নতুন ফুটার স্টাইল */
.footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #800080 0%, #9b59b6 100%);
    color: white;
    font-size: 0.9em;
    font-weight: 300;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer a {
    color: #ffd700; /* গোল্ডেন কালার লিঙ্কের জন্য */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* রেসপন্সিভ ডিজাইন */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .courier-table {
        font-size: 14px;
    }
    
    .courier-table th, .courier-table td {
        padding: 10px;
    }
    
    .footer {
        padding: 15px;
        font-size: 0.8em;
    }
}