@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Only target your plugin forms */
.mpp-form,
.mpp-form form {
    max-width: 880px;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-family: 'Inter', sans-serif;
}

.mpp-form{
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 25px;

}
.mpp-form input,
.mpp-form select,
.mpp-form textarea {
    padding: 12px 14px !important;
    border: 1px solid #69727d !important;
    font-family: 'Inter', sans-serif !important;
    border-radius: 25px !important;
    background-color: #F7F7F7 !important;
    color: #3c4854cc !important;
}


.mpp-submit-btn {
    background: #7aba54 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    color: #283583 !important;
    border: 1px solid #7aba54 !important;
    padding: 15px 30px !important;
    width: 100% !important;
        transition: 
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.2s ease,
}

.mpp-submit-btn:hover{
    background: #283583 !important;
    color: #7aba54 !important;
    border: 1px solid #283583 !important;
}


/* ---------- FORM FIELDS ---------- */

.mpp-field {
    margin-bottom: 20px;
    text-align: left;
    width: calc(50% - 6px);
}

.mpp-form .mpp-field:last-of-type{
    width: 100% !important;
}
.mpp-field label {
    display: block;
    font-family: "Inter", Sans-serif;
    margin-bottom: 8px;
    color: #3c4854cc;
    font-size: 18px;
    font-weight: 500;
    line-height: 31.5px;
}

.mpp-field input,
.mpp-field select,
.mpp-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
}

.mpp-field textarea {
    resize: vertical;
    min-height: 80px;
}

.required {
    color: #e74c3c;
}

.mpp-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
    line-height: 1.4;
}

/* ---------- RESULT PAGE ---------- */

.mpp-result-wrapper {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    font-family: 'Inter', sans-serif;
}

.mpp-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700;
}

.mpp-desc {
    margin-bottom: 25px;
    color: #666;
}

/* Poster Container */
.mpp-poster {
    font-family: 'Inter', sans-serif;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

/* Poster Header */
.mpp-poster .poster-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #283583;
    padding: 30px;
    gap: 20px;
}

.mpp-poster .poster-header .logo {
    flex-shrink: 0;
}

.mpp-poster .poster-header .logo img {
    max-height: 80px;
    width: auto;
    display: block;
}

.mpp-poster .poster-header .poster-type {
    padding-left: 20px;
    border-left: 3px solid rgba(255,255,255,0.5);
    flex-grow: 1;
}

.mpp-poster .poster-header .poster-type h1 {
    color: white;
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.mpp-pet-bio{
    display: flex;
    align-items: start;
    padding: 30px;
    gap: 30px;
}

.detail-row{
 display: flex;
 align-items: start;
 gap:5px;
}
.detail-row span{
    text-align: start;
}
.detail-row span.label{
    font-size: 18px;
    font-weight: 700;
    color: #333 !important;
    white-space: nowrap;
}
/* Poster Photo */
.mpp-photo {
    width: calc(50% - 15px);
    height: 400px;             
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Poster Details */
.mpp-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: start;
    width: calc(50% - 15px);
}

.mpp-details h2 {
    font-size: 36px;
    position: relative;
    margin:0;
    color: #283583;
    font-weight: 700;
    text-align: start;
}

.mpp-details h2::after{
    content: "";
    display: block;
    width: 50px;        
    height: 4px;        
    background-color: #2b3a8f;
    margin-top: 6px; 
}

.mpp-details p {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
    margin: 0;
    text-align: start;
}

.mpp-details strong {
    color: #283583;
}

.mpp-location-details {
    color: #333;
    padding: 30px;
    background: #fff;
    border-radius: 4px;
    min-height: 170px;
    text-align: start;
    background-color: #e8e8e8;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
    margin: 0;
}

.mpp-footer{
    background-color: #70c161;
    padding: 30px;
    margin: 0;
}
.mpp-contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    color: white;
    margin: 0;
}
.mpp-contact h5{
    font-size: 60px !important;
    font-weight: 600;
    line-height: 1.4;
    color: #fff !important;
    margin: 0;
}

/* ---------- BUTTONS ---------- */

.mpp-actions {
    margin: 25px 0;
}

.mpp-share {
    margin-top: 15px;
}

.mpp-btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 6px;
    background: #6b3d21;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.mpp-btn:hover {
    background: #5a331b;
    color: white;
}

.mpp-btn.primary {
    background: #7aba54;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    color: #283583;
    padding: 15px 30px;
}

.mpp-btn.primary:hover {
    background: #283583;
    color: #7aba54;
}

.mpp-note {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* popup css start here */

.mpp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

/* Popup Content */
.mpp-popup-content {
    background: white;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mpp-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 2px !important;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.mpp-popup-close:hover {
    background-color: #7aba54;
    color: #fff;
}

.mpp-popup-content h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}


.mpp-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Social Buttons */
.mpp-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px !important;
    border: none;
    border-radius: 50% !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
}

.mpp-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #2b3a8f !important;
}
.mpp-social-btn:hover svg{
    color: #fff !important;
}
.mpp-social-btn svg {
    width: 30px;
    height: 30px;
}
.mpp-social-btn.instagram,
.mpp-social-btn.whatsapp ,
.mpp-social-btn.facebook {
    background: #7aba54;
}

/* popup css end here */


/* Responsive */

@media (max-width: 768px) {
    .mpp-field {
        margin-bottom: 20px;
        text-align: left;
        width:100%;
    }
    .mpp-form{
      padding: 40px 20px;
    }
}

@media (max-width: 600px) {
    .mpp-poster .poster-header {
        text-align: center;
        padding: 20px;
        flex-direction: column;
    }
    
    .poster-header .logo img{
       max-width: 120px !important;
        border-radius: 0;
        max-height: auto !important;
    }

    .mpp-location-details,
    .mpp-footer{
        padding: 20px;
    }
    .mpp-poster .poster-header .poster-type {
        border-left: none;
    }
    .mpp-photo{
        min-height: 280px;
    }
    .mpp-poster .poster-header .poster-type h1 {
        font-size: 28px;
        font-weight: bold;
    }
    
    .mpp-pet-bio {
        padding: 20px;
        flex-direction: column-reverse;
    }

    .mpp-photo {
        width: 100%;
        height: auto;
        display: block;
        min-height: 380px;
        max-height: 400px;
        object-fit: cover;
    }

    /* Poster Details */
    .mpp-details {
        width: 100%;
    }
    .mpp-contact h5{
        font-size: 26px !important;
        font-weight: 600;
        line-height: 1.4;
        color: #fff !important;
        margin: 0;
    }
    .mpp-details h2 {
        font-size: 20px;
    }
    .mpp-details h2::after{
        content: "";
        display: block;
        width: 50px;        
        height: 2px;        
        background-color: #2b3a8f;
        margin-top: 6px; 
    }
    .mpp-popup-content{
        padding: 40px 20px;
    }
    .mpp-social-btn svg{
        width: 22px;
        height: 22px;
    }
}