/* =========================================================
   RHMP VEHICLE PHOTO
   RentHubMP.lk
   ========================================================= */


/* =========================================================
   PAGE WRAPPER
   ========================================================= */

.rhmp-photo-page {
    width: 100%;
    max-width: 620px;

    margin: 0 auto;
    padding: 32px 16px 35px;

    box-sizing: border-box;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.rhmp-photo-header {
    text-align: center;
    margin-bottom: 18px;
}


.rhmp-photo-header-icon {
    width: 38px;
    height: 38px;

    margin: 0 auto 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f8eb;

    border-radius: 50%;

    font-size: 18px;
}


.rhmp-photo-header h1 {
    margin: 0 0 4px !important;
    padding: 0 !important;

    color: #05BA1B;

    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}


.rhmp-photo-header p {
    max-width: 500px;

    margin: 0 auto;

    color: #667085;

    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.rhmp-photo-card {
    width: 100%;

    margin: 0 0 10px;
    padding: 14px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1.5px solid #05BA1B;
    border-radius: 8px;

    box-shadow:
        0 4px 16px rgba(5, 186, 27, 0.09);
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.rhmp-photo-card-title {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 10px;
}


.rhmp-photo-card-title h2 {
    margin: 0 !important;
    padding: 0 !important;

    color: #05BA1B;

    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}


.rhmp-photo-card-icon {
    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #e8f8eb;

    border-radius: 50%;

    font-size: 12px;
}


/* =========================================================
   WHATSAPP MESSAGE BOX
   ========================================================= */

.rhmp-photo-message-box {
    width: 100%;

    margin: 0 0 10px;

    box-sizing: border-box;

    background: #f8fff9;

    border: 1px solid #d9f1dd;
    border-radius: 6px;

    overflow: hidden;
}


/* =========================================================
   MESSAGE HEADER
   ========================================================= */

.rhmp-photo-message-title {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 7px 9px;

    background: #f0fbf2;

    border-bottom: 1px solid #d9f1dd;

    color: #05BA1B;

    font-size: 11.5px;
    line-height: 1.2;
    font-weight: 700;
}


/* =========================================================
   MESSAGE CONTENT
   ========================================================= */

.rhmp-photo-message-content {
    padding: 8px 10px;

    box-sizing: border-box;
}


.rhmp-photo-message-content p {
    margin: 0 !important;

    color: #475467;

    font-size: 11.5px;
    line-height: 1.25;
}


/* Small controlled spacing */
.rhmp-photo-message-content p + p {
    margin-top: 5px !important;
}


/* =========================================================
   REFERENCE NUMBER ROW
   ========================================================= */

.rhmp-photo-reference-row {
    display: flex;
    align-items: center;

    gap: 6px;

    margin: 5px 0 !important;
    padding: 5px 7px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #cce9d1;
    border-radius: 5px;
}


/* =========================================================
   REFERENCE CONTENT
   ========================================================= */

.rhmp-photo-reference-content {
    flex: 1;
    min-width: 0;
}


.rhmp-photo-reference-label {
    display: block;

    margin: 0 0 1px;

    color: #667085;

    font-size: 9.5px;
    line-height: 1.15;
}


.rhmp-photo-reference-number {
    display: block;

    color: #05BA1B;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 0.1px;

    word-break: break-word;
}


/* =========================================================
   SMALL COPY BUTTON
   ========================================================= */

.rhmp-photo-reference-copy {
    flex: 0 0 auto;

    min-width: 45px;
    height: 25px;

    padding: 0 7px;

    border: 1px solid #05BA1B !important;
    border-radius: 4px !important;

    background: #ffffff !important;

    color: #05BA1B !important;

    font-family: inherit;

    font-size: 9.5px;
    line-height: 1;
    font-weight: 600;

    cursor: pointer;

    outline: none !important;

    box-shadow: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.rhmp-photo-reference-copy:hover {
    background: #e8f8eb !important;

    color: #05BA1B !important;
}


.rhmp-photo-reference-copy:focus,
.rhmp-photo-reference-copy:focus-visible {
    background: #ffffff !important;

    color: #05BA1B !important;

    border-color: #05BA1B !important;

    outline: none !important;

    box-shadow: none !important;
}


/* =========================================================
   COPY SUCCESS
   ========================================================= */

.rhmp-photo-reference-copy.rhmp-copy-success {
    background: #e8f8eb !important;

    color: #05BA1B !important;
}


/* =========================================================
   WHATSAPP BUTTON
   ========================================================= */

.rhmp-photo-whatsapp-button {
    width: 100%;
    min-height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 9px 14px;

    box-sizing: border-box;

    border: 1px solid #05BA1B !important;
    border-radius: 6px !important;

    background: #05BA1B !important;

    color: #ffffff !important;

    font-family: inherit;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;

    cursor: pointer;

    text-decoration: none !important;

    outline: none !important;

    box-shadow: none !important;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}


.rhmp-photo-whatsapp-button:hover {
    background: #049f18 !important;

    border-color: #049f18 !important;

    color: #ffffff !important;
}


.rhmp-photo-whatsapp-button:focus,
.rhmp-photo-whatsapp-button:focus-visible {
    background: #05BA1B !important;

    border-color: #05BA1B !important;

    color: #ffffff !important;

    outline: none !important;

    box-shadow: none !important;
}


.rhmp-photo-whatsapp-button:active {
    background: #049f18 !important;

    border-color: #049f18 !important;

    color: #ffffff !important;

    transform: translateY(1px);
}


.rhmp-photo-whatsapp-button-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    font-size: 15px;
    line-height: 1;
}


/* =========================================================
   PHOTO PRICING
   ========================================================= */

.rhmp-photo-pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 8px;
    padding-top: 7px;

    border-top: 1px solid #edf1ee;

    text-align: center;
}


.rhmp-photo-pricing-free,
.rhmp-photo-pricing-extra {
    color: #667085;

    font-size: 10.5px;
    line-height: 1.3;
}


.rhmp-photo-pricing-free {
    color: #05BA1B;
}


.rhmp-photo-pricing-free strong,
.rhmp-photo-pricing-extra strong {
    font-weight: 700;
}


/* =========================================================
   IMPORTANT BOTTOM NOTE
   ========================================================= */

.rhmp-photo-bottom-note {
    display: flex;
    align-items: flex-start;

    gap: 7px;

    width: 100%;

    padding: 8px 10px;

    box-sizing: border-box;

    background: #f8fafc;

    border: 1px solid #e9edf1;
    border-radius: 6px;
}


.rhmp-photo-bottom-note > span {
    flex: 0 0 auto;

    font-size: 12px;
    line-height: 1.4;
}


.rhmp-photo-bottom-note p {
    margin: 0;

    color: #667085;

    font-size: 10.5px;
    line-height: 1.4;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .rhmp-photo-page {
        max-width: 100%;

        padding: 23px 10px 30px;
    }


    .rhmp-photo-header {
        margin-bottom: 15px;
    }


    .rhmp-photo-header-icon {
        width: 36px;
        height: 36px;

        margin-bottom: 7px;

        font-size: 17px;
    }


    .rhmp-photo-header h1 {
        font-size: 23px;
    }


    .rhmp-photo-header p {
        font-size: 11.5px;
    }


    .rhmp-photo-card {
        padding: 12px;

        border-radius: 7px;
    }


    .rhmp-photo-card-title {
        margin-bottom: 9px;
    }


    .rhmp-photo-card-title h2 {
        font-size: 15px;
    }


    .rhmp-photo-message-content {
        padding: 7px 9px;
    }


    .rhmp-photo-message-content p {
        font-size: 11px;
        line-height: 1.2;
    }


    .rhmp-photo-message-content p + p {
        margin-top: 4px !important;
    }


    .rhmp-photo-reference-row {
        margin: 4px 0 !important;

        padding: 5px 6px;

        gap: 5px;
    }


    .rhmp-photo-reference-label {
        font-size: 9px;
    }


    .rhmp-photo-reference-number {
        font-size: 11.5px;
    }


    .rhmp-photo-reference-copy {
        min-width: 45px;
        height: 24px;

        padding: 0 6px;

        font-size: 9px;
    }


    .rhmp-photo-whatsapp-button {
        min-height: 42px;

        padding: 8px 12px;

        font-size: 12.5px;
    }


    .rhmp-photo-pricing-note {
        flex-direction: column;

        gap: 2px;

        margin-top: 7px;
        padding-top: 6px;
    }


    .rhmp-photo-pricing-free,
    .rhmp-photo-pricing-extra {
        font-size: 10px;
    }


    .rhmp-photo-bottom-note {
        padding: 8px 9px;
    }


    .rhmp-photo-bottom-note p {
        font-size: 10px;
    }

}