/* Markthelfer Bridge – WordPress Plugin Styles */

.mhb-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.mhb-market-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .2s;
}

.mhb-market-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

.mhb-market-date {
    font-size: .82rem;
    color: #64748b;
    margin-bottom: .35rem;
    font-weight: 600;
}

.mhb-market-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .3rem;
}

.mhb-market-location {
    font-size: .85rem;
    color: #64748b;
    margin-bottom: .5rem;
}

.mhb-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: .72rem;
    font-weight: 700;
    padding: .15rem .55rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.mhb-apply-form {
    max-width: 520px;
    margin: 1.5rem 0;
}

.mhb-form-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

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

.mhb-form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: .3rem;
    color: #374151;
}

.mhb-form-group input,
.mhb-form-group textarea {
    width: 100%;
    padding: .6rem .85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .95rem;
    transition: border-color .2s;
    box-sizing: border-box;
}

.mhb-form-group input:focus,
.mhb-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.mhb-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .65rem 1.5rem;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.mhb-btn:hover { background: #1d4ed8; }
.mhb-btn:disabled { background: #93c5fd; cursor: not-allowed; }

.mhb-form-feedback {
    margin-top: .75rem;
    padding: .65rem 1rem;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
}

.mhb-form-feedback.success {
    background: #dcfce7;
    color: #16a34a;
}

.mhb-form-feedback.error {
    background: #fee2e2;
    color: #dc2626;
}

.mhb-error { color: #dc2626; font-style: italic; }
.mhb-empty { color: #64748b; font-style: italic; }

@media (max-width: 600px) {
    .mhb-calendar {
        grid-template-columns: 1fr;
    }
}
