.lpi-search-container {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #4a5568;
    line-height: 1.6;
}

.lpi-header {
    text-align: center;
    margin-bottom: 40px;
}

.lpi-header h2 {
    color: #2d3748;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}

/* Search Form & Inputs */
#lpi-search-form {
    text-align: center;
    margin-bottom: 40px;
}

.lpi-input-group {
    display: inline-flex;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    transition: box-shadow 0.2s;
    width: 100%;
    max-width: 600px;
}

.lpi-input-group:focus-within {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#lpi-plate-input {
    padding: 16px 24px;
    font-size: 18px;
    border: 1px solid #e2e8f0;
    border-right: none;
    background: #fff;
    color: #2d3748;
    outline: none;
    flex: 1;
    min-width: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    transition: border-color 0.2s;
}

#lpi-phone-input {
    padding: 16px 24px;
    font-size: 18px;
    border: 1px solid #e2e8f0;
    border-right: none;
    background: #fff;
    color: #2d3748;
    outline: none;
    flex: 1;
    min-width: 0;
    transition: border-color 0.2s;
}

#lpi-plate-input:focus {
    border-color: #cbd5e0;
}

#lpi-search-form button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #e31e24 0%, #b91c1c 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.025em;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: transform 0.1s, opacity 0.2s;
}

#lpi-search-form button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

#lpi-search-form button:active {
    transform: translateY(0);
}

/* Registration Form Inputs */
.lpi-card input[type="text"],
.lpi-card input[type="email"],
.lpi-card input[type="tel"],
.lpi-card input[type="date"],
.lpi-card select {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 5px;
    /* Reduced from 15px to 5px as wrapper handles spacing */
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    color: #4a5568;
    background-color: #fff;
    transition: all 0.2s;
    box-sizing: border-box;
    height: 48px;
    /* Enforce consistent height */
    appearance: none;
    /* Remove default OS styling for consistency */
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Custom Arrow for Select */
.lpi-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
    /* Space for arrow */
}

.lpi-card textarea.lpi-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    color: #4a5568;
    background-color: #fff;
    transition: all 0.2s;
    box-sizing: border-box;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.lpi-card textarea.lpi-textarea:focus {
    outline: none;
    border-color: #e31e24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.lpi-button {
    width: 100%;
    padding: 14px 20px;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: opacity 0.2s, transform 0.1s;
    margin-top: 10px;
}

.lpi-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.lpi-button:active {
    transform: translateY(0);
}

.lpi-card input:focus,
.lpi-card select:focus {
    outline: none;
    border-color: #e31e24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.lpi-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

/* Form Layout & Grid */
.lpi-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.lpi-form-col {
    flex: 1;
    min-width: 0;
}

.lpi-input-wrapper {
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .lpi-form-row {
        flex-direction: column;
        gap: 15px;
    }

    .lpi-input-group {
        flex-direction: column;
        box-shadow: none;
        gap: 10px;
    }

    #lpi-plate-input,
    #lpi-phone-input,
    #lpi-search-form button {
        width: 100%;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
    }

    .lpi-header h2 {
        font-size: 1.75rem;
    }
}

/* Messages */
#lpi-message {
    margin: 20px 0;
    text-align: center;
    min-height: 20px;
}

.lpi-success {
    display: inline-block;
    background: #def7ec;
    color: #03543f;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #bcf0da;
}

.lpi-error {
    display: inline-block;
    background: #fde8e8;
    color: #9b1c1c;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #fbd5d5;
}

/* Cards */
.lpi-card {
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    border: 1px solid #f7fafc;
}

.lpi-card.alternate-bg {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    box-shadow: none;
}

.lpi-card h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #edf2f7;
    color: #2d3748;
    font-weight: 700;
}

.lpi-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lpi-detail-list li {
    margin-bottom: 15px;
    font-size: 15px;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.lpi-label {
    font-weight: 600;
    width: 160px;
    flex-shrink: 0;
    color: #718096;
}

/* Warning Box */
.lpi-warning-box {
    margin: 30px 0;
    padding: 20px;
    background-color: #fffaf0;
    border-left: 4px solid #ed8936;
    border-radius: 4px;
}

.lpi-warning-box h4 {
    margin: 0 0 10px 0;
    color: #c05621;
    font-size: 16px;
    font-weight: 700;
}

/* Warranty Card Specifics */
.lpi-warranty-card {
    background: linear-gradient(to bottom right, #ffffff, #f0fff4);
    border: 1px solid #c6f6d5;
    position: relative;
    overflow: hidden;
}

.lpi-warranty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #48bb78;
}

.lpi-status-badge {
    background: #c6f6d5;
    color: #22543d;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}