.wtm-bids-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.wtm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.wtm-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wtm-card:hover {
    border-color: #C81E2E;
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -12px rgba(200, 30, 46, 0.3);
}

.wtm-card-content {
    padding: 1.5rem;
}

.wtm-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.wtm-ref {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.wtm-deadline {
    color: #fbbf24;
    font-weight: bold;
    margin: 0.5rem 0;
}

.wtm-location {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.wtm-apply-btn {
    background: #C81E2E;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    width: 100%;
    text-align: center;
    display: block;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.wtm-apply-btn:hover {
    background: #a11725;
}

.wtm-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.wtm-filters select,
.wtm-filters input {
    padding: 0.5rem 1rem;
    background: #1f2937;
    border: 1px solid #374151;
    color: white;
    border-radius: 0.5rem;
    min-width: 160px;
}

#wtm-pagination {
    margin-top: 2rem;
    text-align: center;
}

#wtm-pagination button {
    background: #1f2937;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    cursor: pointer;
    color: white;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

#wtm-pagination button.active,
#wtm-pagination button:hover {
    background: #C81E2E;
}

/* Modal Styles */
.wtm-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
}

.wtm-modal-content {
    background: #1a1a1a;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 1rem;
    position: relative;
}

.wtm-modal-close {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.wtm-form-group {
    margin-bottom: 1rem;
}

.wtm-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #9ca3af;
}

.wtm-form-group input,
.wtm-form-group textarea,
.wtm-form-group select {
    width: 100%;
    padding: 0.5rem;
    background: #111;
    border: 1px solid #374151;
    color: white;
    border-radius: 0.5rem;
}

.wtm-form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.wtm-form-group small {
    display: block;
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.wtm-submit-btn {
    background: #C81E2E;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    margin-top: 1rem;
}

.wtm-submit-btn:hover {
    background: #a11725;
}

@media (max-width: 768px) {
    .wtm-grid {
        grid-template-columns: 1fr;
    }
    .wtm-filters {
        flex-direction: column;
    }
    .wtm-filters select,
    .wtm-filters input {
        width: 100%;
    }
}