/* MP Connect CSS - Ultra Premium Aesthetics */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

.mp-connect-container {
    font-family: 'Outfit', sans-serif;
    width: 100%;
    max-width: none;
    margin: 20px 0;
    padding: 0;
}

.mp-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    /* Remove internal padding as per request */
    box-shadow: none;
    /* Cleaner look if inside a page builder */
    border: none;
}

.mp-form-card h2 {
    color: #0f172a;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mp-form-card p {
    color: #64748b;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.mp-form-group {
    margin-bottom: 24px;
}

.mp-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #334155;
    font-size: 0.95rem;
}

.mp-form-group input,
.mp-form-group select,
.mp-form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    color: #1e293b;
}

.mp-form-group input:focus,
.mp-form-group select:focus,
.mp-form-group textarea:focus {
    border-color: #6366f1;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.mp-flex-row {
    display: flex;
    gap: 24px;
}

.mp-flex-row>div {
    flex: 1;
}

.elementor-widget-shortcode {
    width: 100% !important;
}

/* Redesigned Premium Button */
/* Higher specificity using ID and class together */
#mp-btn-submit, .mp-btn-submit {
    background: #006a4e !important;
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1), 0 2px 4px -1px rgba(79, 70, 229, 0.06);
}

#mp-btn-submit:hover, .mp-btn-submit:hover {
    background: #006648 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.2), 0 4px 6px -2px rgba(79, 70, 229, 0.1);
}

#mp-btn-submit:active {
    transform: translateY(0);
}

#mp-btn-submit.secondary, .mp-btn-submit.secondary {
    background: #006a4e !important;
}

#mp-btn-submit.secondary:hover {
    background: #004d39 !important;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
}

.mp-success-notice {
    background: #ecfdf5;
    color: #065f46;
    padding: 24px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid #10b981;
    font-weight: 600;
}

/* Volunteer Grid */
.mp-volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.mp-volunteer-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.mp-volunteer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Single Profile Styles */
.mp-profile-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.mp-profile-header {
    display: flex;
    gap: 40px;
    padding: 60px;
    background: linear-gradient(to right, #f8fafc, #ffffff);
    border-bottom: 1px solid #f1f5f9;
}

.mp-profile-image {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.mp-profile-image img,
.mp-vol-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-vol-placeholder {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.mp-vol-placeholder svg {
    width: 60px;
    height: 60px;
}

.mp-profile-main-info h1 {
    font-size: 2.8rem;
    margin: 0 0 10px;
    color: #0f172a;
    font-weight: 700;
}

.mp-tagline {
    color: #4f46e5;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(79, 70, 229, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
}

.mp-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.mp-meta-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    font-weight: 700;
}

.mp-meta-value {
    color: #334155;
    font-weight: 600;
    font-size: 1.1rem;
}

.mp-profile-content {
    padding: 60px;
}

.mp-bio-text {
    line-height: 1.8;
    color: #475569;
    font-size: 1.15rem;
}

.mp-profile-footer {
    padding: 30px 60px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.mp-btn-back {
    color: #64748b;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.mp-btn-back:hover {
    color: #4f46e5;
}

.mp-vol-info {
    padding: 24px;
}

.mp-vol-area {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.mp-vol-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .mp-profile-header {
        flex-direction: column;
        padding: 40px;
        text-align: center;
        align-items: center;
    }

    .mp-profile-content {
        padding: 40px;
    }

    .mp-flex-row {
        flex-direction: column;
        gap: 0;
    }
}