.mdp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.mdp-filter-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mdp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.mdp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.mdp-filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

.mdp-filter-group select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background-color: #fff;
    font-size: 15px;
    color: #2d3748;
    transition: border-color 0.2s;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.mdp-filter-group select:focus {
    border-color: #4299e1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.mdp-filter-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 2px;
}

.mdp-btn-submit {
    background-color: #2d3748;
    color: white;
    padding: 0 24px;
    height: 42px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mdp-btn-submit:hover {
    background-color: #1a202c;
}

.mdp-btn-reset {
    color: #718096;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.mdp-btn-reset:hover {
    color: #e53e3e;
    text-decoration: underline;
}

.mdp-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.mdp-doctor-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.mdp-doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mdp-card-thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.no-thumb {
    width: 100%;
    height: 250px;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
}

.mdp-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mdp-card-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    line-height: 1.4;
}

.mdp-card-title a {
    text-decoration: none;
    color: #1a202c;
}

.mdp-card-spec {
    color: #3182ce;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.mdp-card-meta {
    list-style: none;
    padding: 12px 0 0;
    margin: auto 0 0;
    font-size: 0.9rem;
    color: #4a5568;
    border-top: 1px solid #edf2f7;
}

.mdp-card-meta li {
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.mdp-card-meta li strong {
    color: #718096;
}

.mdp-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mdp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #4a5568;
    background: #fff;
    transition: all 0.2s;
    box-sizing: border-box;
}

.mdp-pagination .page-numbers:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
}

.mdp-pagination .current {
    background: #3182ce;
    color: #fff;
    border-color: #3182ce;
}

.mdp-single-content-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.mdp-single-image {
    flex: 0 0 350px;
}

.mdp-single-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .mdp-container {
        padding: 15px;
    }

    .mdp-filter-group {
        flex: 1 1 100%;
    }

    .mdp-filter-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .mdp-btn-submit {
        width: 100%;
    }

    .mdp-single-content-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .mdp-single-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .mdp-doctors-grid {
        grid-template-columns: 1fr;
    }
}
