/* =========================================================
   LAB REPORT VERIFICATION
   PREMIUM CLEAN DESIGN
========================================================= */

* {
    box-sizing: border-box;
}


/* =========================================================
   WRAPPER
========================================================= */

.lrv-wrapper {
    width: 100%;
    padding: 18px 10px 45px;
}


/* =========================================================
   MAIN CARD
========================================================= */

.lrv-card {
    width: 100%;
    max-width: 820px;

    margin: 0 auto;

    padding: 32px;

    background: #ffffff;

    border: 1px solid #ead18a;

    border-radius: 24px;

    box-shadow:
        0 18px 55px rgba(120, 80, 0, .10);
}


/* =========================================================
   FORM HEADER
========================================================= */

.lrv-form-header {
    text-align: center;

    margin-bottom: 27px;
}


.lrv-form-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 10px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #d4af37,
            #a66f00
        );

    color: #ffffff;

    font-size: 18px;

    font-weight: 800;
}


.lrv-form-header h2 {
    margin: 0;

    color: #986600;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    line-height: 1.25;
}


.lrv-form-header p {
    margin: 7px 0 0;

    color: #888;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   FORM
========================================================= */

.lrv-field {
    margin-bottom: 18px;
}


.lrv-field label {
    display: block;

    margin-bottom: 8px;

    color: #735000;

    font-size: 14px;

    font-weight: 700;
}


.lrv-field input {
    width: 100%;

    height: 55px;

    padding: 0 17px;

    border: 1px solid #dcc47b;

    border-radius: 12px;

    outline: none;

    background: #fffdf8;

    color: #333;

    font-size: 15px;

    transition: .25s ease;
}


.lrv-field input:focus {
    border-color: #b8860b;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(184,134,11,.10);
}


.lrv-field input::placeholder {
    color: #aaa;
}


/* =========================================================
   BUTTON
========================================================= */

#lrv-submit {
    width: 100%;

    height: 55px;

    border: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #d4af37,
            #a66f00
        );

    color: #ffffff;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition: .25s ease;
}


#lrv-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(166,111,0,.25);
}


#lrv-submit:disabled {
    opacity: .65;

    cursor: wait;

    transform: none;
}


/* =========================================================
   LOADING
========================================================= */

#lrv-loading {
    display: none;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 18px;

    color: #a66f00;

    font-size: 13px;

    font-weight: 600;
}


#lrv-loading.is-visible {
    display: flex;
}


.lrv-spinner {
    width: 17px;
    height: 17px;

    border: 2px solid #ead9a1;

    border-top-color: #a66f00;

    border-radius: 50%;

    animation:
        lrv-spin .7s linear infinite;
}


.lrv-button-spinner {
    display: inline-block;

    width: 15px;
    height: 15px;

    margin-right: 7px;

    vertical-align: -2px;

    border: 2px solid rgba(255,255,255,.4);

    border-top-color: #ffffff;

    border-radius: 50%;

    animation:
        lrv-spin .7s linear infinite;
}


@keyframes lrv-spin {

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   SUCCESS
========================================================= */

.lrv-success {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 18px;

    padding: 10px 14px;

    border: 1px solid #86efac;

    border-radius: 10px;

    background: #f0fdf4;

    color: #15803d;

    font-size: 13px;

    font-weight: 700;
}


.lrv-success-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    border-radius: 50%;

    background: #16a34a;

    color: #ffffff;

    font-size: 11px;
}


/* =========================================================
   ERROR
========================================================= */

.lrv-error {
    margin-top: 18px;

    padding: 13px 16px;

    border: 1px solid #fecaca;

    border-radius: 10px;

    background: #fff5f5;

    color: #991b1b;

    text-align: center;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   REPORT CARD
========================================================= */

.lrv-report-card {
    width: 100%;

    margin-top: 28px;

    padding: 36px 40px;

    border: 1px solid #dfc46c;

    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffdf8 100%
        );

    box-shadow:
        0 18px 50px rgba(80,55,0,.10);
}


/* =========================================================
   REPORT HEADER
========================================================= */

.lrv-report-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 22px;

    border-bottom: 1px solid #ead9a1;
}


.lrv-lab-name {
    color: #996600;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;

    font-weight: 700;

    line-height: 1.3;
}


.lrv-lab-subtitle {
    margin-top: 6px;

    color: #858585;

    font-size: 10px;

    letter-spacing: .6px;

    text-transform: uppercase;
}


.lrv-verified-badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    flex-shrink: 0;

    padding: 8px 13px;

    border: 1px solid #86efac;

    border-radius: 50px;

    background: #f0fdf4;

    color: #15803d;

    font-size: 10px;

    font-weight: 800;
}


.lrv-verified-badge span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: #16a34a;

    color: #ffffff;
}


/* =========================================================
   REPORT IMAGE
========================================================= */

.lrv-report-image {
    width: 100%;

    margin: 24px 0;

    padding: 15px;

    border: 1px solid #f0dfaa;

    border-radius: 16px;

    background: #fffaf0;

    text-align: center;
}


.lrv-report-image img {
    display: block;

    width: auto;

    max-width: 100%;

    max-height: 280px;

    margin: auto;

    border-radius: 9px;

    object-fit: contain;
}


/* =========================================================
   ITEM NAME
========================================================= */

.lrv-item-name-box {
    margin: 0 0 15px;

    padding: 17px 20px;

    border: 1px solid #e4c96e;

    border-left: 5px solid #b8860b;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #fffaf0,
            #fffdf8
        );
}


.lrv-item-name-box span {
    display: block;

    margin-bottom: 5px;

    color: #a17e2d;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.lrv-item-name-box strong {
    display: block;

    color: #5c430e;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;

    line-height: 1.35;

    word-break: break-word;
}


/* =========================================================
   REPORT META
========================================================= */

.lrv-report-meta {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 13px;

    margin-bottom: 14px;
}


.lrv-meta-box {
    padding: 14px 17px;

    border: 1px solid #e7cf86;

    border-radius: 12px;

    background: #fffaf0;
}


.lrv-meta-box span {
    display: block;

    margin-bottom: 5px;

    color: #977a38;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .8px;
}


.lrv-meta-box strong {
    display: block;

    color: #4c3709;

    font-size: 14px;

    line-height: 1.4;

    word-break: break-word;
}


/* =========================================================
   SMALL COMMENT
========================================================= */

.lrv-compact-comment {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    margin: 0 0 22px;

    padding: 9px 12px;

    border-bottom: 1px solid #ead9a1;

    color: #777;

    font-size: 11px;

    line-height: 1.5;
}


.lrv-comment-label {
    flex-shrink: 0;

    color: #9a6800;

    font-weight: 700;
}


.lrv-comment-text {
    color: #666;

    word-break: break-word;
}


/* =========================================================
   SECTION
========================================================= */

.lrv-section {
    margin-top: 27px;
}


.lrv-section-title {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 12px;

    padding-bottom: 9px;

    border-bottom: 1px solid #ead9a1;

    color: #986600;

    font-size: 15px;

    font-weight: 700;
}


.lrv-section-title > span {
    width: 5px;
    height: 18px;

    flex-shrink: 0;

    border-radius: 5px;

    background:
        linear-gradient(
            180deg,
            #d4af37,
            #a66f00
        );
}


/* =========================================================
   INFO GRID
========================================================= */

.lrv-info-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    column-gap: 32px;

    border-top: 1px solid #eee4c8;
}


.lrv-info-item {
    display: grid;

    grid-template-columns:
        minmax(95px,42%)
        1fr;

    gap: 9px;

    align-items: start;

    min-height: 48px;

    padding: 12px 2px;

    border-bottom: 1px solid #eee4c8;
}


.lrv-label {
    color: #888;

    font-size: 10px;

    line-height: 1.45;
}


.lrv-value {
    color: #333;

    font-size: 12px;

    line-height: 1.45;

    font-weight: 600;

    word-break: break-word;
}


/* =========================================================
   FOOTER
========================================================= */

.lrv-report-footer {
    margin-top: 29px;

    padding-top: 17px;

    border-top: 1px solid #ead9a1;

    color: #888;

    text-align: center;

    font-size: 10px;

    line-height: 1.6;
}


.lrv-report-footer strong {
    display: block;

    margin-top: 6px;

    color: #996600;

    font-size: 12px;
}


.lrv-footer-line {
    width: 42px;

    height: 2px;

    margin: 8px auto;

    border-radius: 5px;

    background: #d4af37;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .lrv-wrapper {
        padding: 8px 5px 35px;
    }


    .lrv-card {
        padding: 22px 15px;

        border-radius: 18px;
    }


    .lrv-form-header h2 {
        font-size: 22px;
    }


    .lrv-report-card {
        padding: 24px 16px;

        border-radius: 18px;
    }


    .lrv-report-header {
        display: block;

        text-align: center;
    }


    .lrv-lab-name {
        font-size: 20px;
    }


    .lrv-lab-subtitle {
        font-size: 9px;

        line-height: 1.5;
    }


    .lrv-verified-badge {
        margin-top: 13px;
    }


    .lrv-report-image {
        margin: 20px 0;

        padding: 11px;
    }


    .lrv-report-image img {
        max-height: 240px;
    }


    .lrv-item-name-box {
        padding: 15px 16px;
    }


    .lrv-item-name-box strong {
        font-size: 17px;
    }


    .lrv-report-meta {
        grid-template-columns: 1fr;

        gap: 8px;
    }


    .lrv-meta-box {
        padding: 12px 14px;
    }


    .lrv-section {
        margin-top: 23px;
    }


    .lrv-info-grid {
        grid-template-columns: 1fr;
    }


    .lrv-info-item {
        grid-template-columns:
            40% 60%;

        min-height: 46px;
    }


    .lrv-label {
        font-size: 10px;
    }


    .lrv-value {
        font-size: 11px;
    }


    .lrv-compact-comment {
        margin-bottom: 19px;

        font-size: 10px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .lrv-card {
        padding: 19px 12px;
    }


    .lrv-report-card {
        padding: 21px 13px;
    }


    .lrv-lab-name {
        font-size: 18px;
    }


    .lrv-item-name-box strong {
        font-size: 16px;
    }


    .lrv-info-item {
        grid-template-columns:
            38% 62%;
    }
}

/* =========================================
   FINAL REPORT LAYOUT
========================================= */

.lrv-report-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:25px;
}

.lrv-lab-name{
    font-size:24px;
    font-weight:800;
    color:#a66f00;
}

.lrv-lab-subtitle{
    margin-top:5px;
    color:#888;
    font-size:13px;
}

.lrv-verified-badge{
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:#ecfdf5;
    color:#166534;
    border:1px solid #bbf7d0;
    border-radius:50px;
    padding:9px 14px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}

.lrv-report-image{
    width:100%;
    margin:0 0 25px;
    text-align:center;
}

.lrv-report-image img{
    display:block;
    width:100%;
    max-width:500px;
    max-height:420px;
    object-fit:contain;
    margin:0 auto;
    border-radius:18px;
}

.lrv-item-name-box{
    background:#fffaf0;
    border:1px solid #ead18a;
    border-radius:16px;
    padding:18px;
    margin-bottom:15px;
}

.lrv-item-name-box span,
.lrv-meta-box span{
    display:block;
    color:#888;
    font-size:11px;
    font-weight:700;
    letter-spacing:.7px;
    margin-bottom:7px;
}

.lrv-item-name-box strong{
    display:block;
    color:#a66f00;
    font-size:20px;
    line-height:1.35;
}

.lrv-report-meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.lrv-meta-box{
    background:#fffaf0;
    border:1px solid #f1dfaa;
    border-radius:15px;
    padding:15px;
}

.lrv-meta-box strong{
    color:#333;
    font-size:16px;
    word-break:break-word;
}

.lrv-compact-comment{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-top:15px;
    padding:11px 14px;
    background:#fafafa;
    border:1px solid #eee;
    border-radius:12px;
    font-size:13px;
    line-height:1.5;
}

.lrv-comment-label{
    color:#a66f00;
    font-weight:700;
    white-space:nowrap;
}

.lrv-comment-text{
    color:#555;
}

.lrv-section{
    margin-top:25px;
}

.lrv-section-title{
    display:flex;
    align-items:center;
    gap:9px;
    color:#a66f00;
    font-size:20px;
    font-weight:800;
    padding-bottom:10px;
    margin-bottom:15px;
    border-bottom:1px solid #ead18a;
}

.lrv-section-title span{
    width:5px;
    height:22px;
    background:#d4af37;
    border-radius:5px;
}

.lrv-info-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.lrv-info-item{
    background:#fffaf0;
    border:1px solid #f1dfaa;
    border-radius:13px;
    padding:13px;
    min-width:0;
}

.lrv-info-item .lrv-label{
    display:block;
    color:#888;
    font-size:12px;
    margin-bottom:5px;
}

.lrv-info-item .lrv-value{
    display:block;
    color:#333;
    font-size:14px;
    line-height:1.4;
    word-break:break-word;
}

.lrv-report-footer{
    margin-top:25px;
    padding-top:18px;
    border-top:1px solid #eee;
    text-align:center;
    color:#888;
    font-size:12px;
    line-height:1.6;
}

.lrv-report-footer strong{
    display:block;
    margin-top:8px;
    color:#a66f00;
}

.lrv-footer-line{
    width:50px;
    height:2px;
    background:#d4af37;
    margin:12px auto 0;
}

.lrv-success-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
    margin-right:5px;
    background:#166534;
    color:white;
    border-radius:50%;
    font-size:13px;
}

#lrv-submit:disabled{
    opacity:.65;
    cursor:not-allowed;
    transform:none;
}

#lrv-loading{
    margin-top:18px;
}


/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    .lrv-card{
        padding:18px;
        border-radius:18px;
    }

    .lrv-report-card{
        padding:18px;
        border-radius:18px;
    }

    .lrv-report-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .lrv-lab-name{
        font-size:21px;
    }

    .lrv-verified-badge{
        font-size:11px;
    }

    .lrv-report-meta{
        grid-template-columns:1fr;
    }

    .lrv-info-grid{
        grid-template-columns:1fr;
    }

    .lrv-item-name-box strong{
        font-size:17px;
    }

    .lrv-report-image img{
        max-height:300px;
    }

    .lrv-compact-comment{
        font-size:12px;
    }

}
