/*
====================================================
ULEZ VEHICLE CHECKER CSS

Version: 1.0.0

Purpose:
- Vehicle checker layout
- Search box
- Result cards
- Responsive design

====================================================
*/



.ulez-vehicle-wrapper {

    max-width: 900px;

    margin: 40px auto;

    padding: 20px;

}





/*
----------------------------------------------------
Hero
----------------------------------------------------
*/


.ulez-vehicle-hero {

    background:#ffffff;

    padding:35px;

    border-radius:16px;

    box-shadow:

    0 10px 30px rgba(0,0,0,.08);

    margin-bottom:30px;

}



.ulez-vehicle-hero h1 {

    font-size:36px;

    margin:0 0 15px;

    color:#111827;

}



.ulez-vehicle-hero p {

    font-size:17px;

    line-height:1.7;

    color:#555;

}





/*
----------------------------------------------------
Search Card
----------------------------------------------------
*/


.ulez-vehicle-search-card {


    background:#ffffff;

    padding:30px;

    border-radius:16px;

    box-shadow:

    0 8px 25px rgba(0,0,0,.08);

    margin-bottom:30px;


}



.ulez-vehicle-search-card h2 {


    margin-top:0;

    font-size:24px;

}





.ulez-vehicle-input-group {


    display:flex;

    gap:15px;

}





#ulez-vehicle-number {


    flex:1;

    height:52px;

    padding:0 18px;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:16px;

    text-transform:uppercase;

}





#ulez-vehicle-check-btn {


    background:#0b7a3b;

    color:white;

    border:none;

    padding:0 30px;

    height:52px;

    border-radius:8px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

}





#ulez-vehicle-check-btn:hover {


    background:#075c2d;

}





#ulez-vehicle-check-btn:disabled {


    opacity:.6;

    cursor:not-allowed;

}





.ulez-small-note {


    margin-top:15px;

    color:#666;

    font-size:14px;

}





/*
----------------------------------------------------
Result
----------------------------------------------------
*/


.ulez-vehicle-result {


    margin-bottom:40px;

}





.vehicle-result-card {


    background:white;

    padding:30px;

    border-radius:16px;

    box-shadow:

    0 10px 25px rgba(0,0,0,.08);

}





.vehicle-result-card h3 {


    margin-top:30px;

    font-size:24px;

}





/*
----------------------------------------------------
Status Badge
----------------------------------------------------
*/


.ulez-green {


    background:#dcfce7;

    color:#166534;

    padding:15px;

    border-radius:10px;

    font-size:20px;

    font-weight:700;

}





.ulez-red {


    background:#fee2e2;

    color:#991b1b;

    padding:15px;

    border-radius:10px;

    font-size:20px;

    font-weight:700;

}





/*
----------------------------------------------------
Vehicle Table
----------------------------------------------------
*/


.vehicle-result-card table {


    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}





.vehicle-result-card td {


    padding:14px;

    border-bottom:1px solid #eee;

    font-size:16px;

}





.vehicle-result-card td:first-child {


    font-weight:600;

    width:35%;

}





/*
----------------------------------------------------
Messages
----------------------------------------------------
*/


.vehicle-message {


    background:#f8fafc;

    padding:20px;

    border-radius:10px;

    text-align:center;

    font-size:17px;

}






/*
----------------------------------------------------
SEO Content
----------------------------------------------------
*/


.ulez-vehicle-content {


    font-size:17px;

    line-height:1.8;

    color:#333;

}





.ulez-vehicle-content h2 {


    margin-top:45px;

    color:#111827;

    font-size:28px;

}





.ulez-vehicle-content h3 {


    margin-top:30px;

    color:#222;

}





.ulez-tool-links {


    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:15px;

}





.ulez-tool-links a {


    background:#f1f5f9;

    padding:20px;

    border-radius:12px;

    text-decoration:none;

    color:#111827;

    font-weight:600;

}





.ulez-tool-links a:hover {


    background:#e2e8f0;

}





.ulez-disclaimer {


    background:#fff7ed;

    border-left:5px solid #ea580c;

    padding:20px;

    border-radius:10px;

}





/*
----------------------------------------------------
Mobile
----------------------------------------------------
*/


@media(max-width:700px){


    .ulez-vehicle-wrapper {

        padding:10px;

    }



    .ulez-vehicle-hero h1 {

        font-size:28px;

    }




    .ulez-vehicle-input-group {


        flex-direction:column;

    }




    #ulez-vehicle-check-btn,


    #ulez-vehicle-number {


        width:100%;

    }




    .ulez-tool-links {


        grid-template-columns:1fr;

    }



    .vehicle-result-card {


        padding:20px;

    }



    .vehicle-result-card td {


        font-size:14px;

    }



}
/* Functional states added in 1.0.1 */
.ulez-vehicle-wrapper .ulez-placeholder {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    padding: 24px;
    text-align: center;
}

.ulez-vehicle-wrapper .ulez-vehicle-loading {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .06);
    display: flex;
    gap: 16px;
    padding: 24px;
}

.ulez-vehicle-wrapper .ulez-vehicle-loading p {
    color: #64748b;
    margin: 4px 0 0;
}

.ulez-vehicle-wrapper .ulez-spinner {
    animation: ulez-spin .8s linear infinite;
    border: 3px solid #dbeafe;
    border-radius: 50%;
    border-top-color: #2563eb;
    flex: 0 0 28px;
    height: 28px;
    width: 28px;
}

@keyframes ulez-spin {
    to { transform: rotate(360deg); }
}

.ulez-vehicle-wrapper .vehicle-message--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.ulez-vehicle-wrapper .ulez-status-panel {
    align-items: flex-start;
    display: flex;
    gap: 14px;
}

.ulez-vehicle-wrapper .ulez-status-panel h2 {
    color: inherit;
    font-size: 24px;
    line-height: 1.25;
    margin: 0;
}

.ulez-vehicle-wrapper .ulez-status-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.ulez-vehicle-wrapper .ulez-status-icon {
    align-items: center;
    background: rgba(255,255,255,.68);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 21px;
    font-weight: 800;
    height: 34px;
    justify-content: center;
}

.ulez-vehicle-wrapper .ulez-result-registration {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 7px 0 0;
}

.ulez-vehicle-wrapper .ulez-blue {
    background: #dbeafe;
    color: #1e40af;
    padding: 15px;
    border-radius: 10px;
}

.ulez-vehicle-wrapper .ulez-orange {
    background: #ffedd5;
    color: #9a3412;
    padding: 15px;
    border-radius: 10px;
}

.ulez-vehicle-wrapper .vehicle-reason {
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 10px;
    margin-top: 20px;
    padding: 18px 20px;
}

.ulez-vehicle-wrapper .vehicle-reason h3,
.ulez-vehicle-wrapper .vehicle-reason p {
    margin: 0;
}

.ulez-vehicle-wrapper .vehicle-reason h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.ulez-vehicle-wrapper .ulez-vehicle-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.ulez-vehicle-wrapper .ulez-vehicle-detail-row {
    background: #fff;
    padding: 15px 16px;
}

.ulez-vehicle-wrapper .ulez-vehicle-detail-row dt {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
}

.ulez-vehicle-wrapper .ulez-vehicle-detail-row dd {
    color: #111827;
    font-weight: 700;
    margin: 0;
}

.ulez-vehicle-wrapper .ulez-result-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ulez-vehicle-wrapper .ulez-result-actions button,
.ulez-vehicle-wrapper .ulez-result-actions a {
    border-radius: 8px;
    font-weight: 700;
    padding: 11px 17px;
    text-decoration: none;
}

.ulez-vehicle-wrapper .ulez-result-actions button {
    background: #2563eb;
    border: 0;
    color: #fff;
    cursor: pointer;
}

.ulez-vehicle-wrapper .ulez-result-actions a {
    border: 1px solid #cbd5e1;
    color: #1e40af;
}

@media (max-width: 700px) {
    .ulez-vehicle-wrapper .ulez-vehicle-details dl {
        grid-template-columns: 1fr;
    }
}
