#frmNewCar,
#frmLinkCar,
#frmLinkCustomer {
    min-height: 300px;
}



/* Form styling */
#frmNewCar .modal-body,
#frmLinkCar .modal-body {
    padding: 25px;
}

#frmNewCar .form-container,
#frmLinkCar .form-container,
#frmLinkCustomer .form-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

#frmNewCar .form-row,
#frmLinkCar .form-row,
#frmLinkCustomer .form-row {
    display: flex;
    gap: 16px;
}

#frmNewCar .form-row .form-group,
#frmLinkCar .form-row .form-group,
#frmLinkCustomer .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

#frmNewCar .form-group,
#frmLinkCar .form-group,
#frmLinkCustomer .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#frmNewCar .form-label,
#frmLinkCar .form-label,
#frmLinkCustomer .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    display: block;
}

#frmNewCar .required-asterisk,
#frmLinkCar .required-asterisk,
#frmLinkCustomer .required-asterisk {
    color: #dc3545;
    font-weight: bold;
    margin-left: 4px;
}

#frmNewCar .form-label small,
#frmLinkCar .form-label small,
#frmLinkCustomer .form-label small {
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 8px;
    opacity: 0.8;
}

#frmNewCar .form-control,
#frmLinkCar .form-control,
#frmLinkCustomer .form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#frmNewCar .form-control:focus,
#frmLinkCar .form-control:focus,
#frmLinkCustomer .form-control:focus {
    border-color: #007bff;

    outline: none;
}

#frmNewCar .form-select,
#frmLinkCar .form-select,
#frmLinkCustomer .form-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s ease;
}

#frmNewCar .form-select:focus,
#frmLinkCar .form-select:focus,
#frmLinkCustomer .form-select:focus {
    border-color: #007bff;
    outline: none;
}

/* License Plates */
.license-plate {
    border: 2px solid #000000;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 140px;
    height: 38px;
    padding: 0;
    border-radius: 6px;
    line-height: 0;
    overflow: hidden;
}

.license-plate .eu-stripe {
    position: absolute;
    width: 24px;
    height: 100%;
    left: 0;
    top: 0;
    background: #063298;
    border-radius: 4px 0 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 0;
}

.license-plate .eu-circle {
    width: 12px;
    height: 12px;
    border: 1px dashed #FFD700;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.license-plate .country-letter {
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.license-plate .license-number {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    letter-spacing: 1.5px;
    font-weight: bold;
    font-size: inherit;
    white-space: nowrap;
    color: inherit;
    text-align: left;
    width: calc(100% - 42px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: inherit;
}

.license-plate[class*="plate-"] {
    background: #ffffff;
    color: #000000 !important;
    opacity: 1;
}

.license-plate.plate-L,
.license-plate.plate-NL,
.license-plate.plate-GB {
    background: #FFD700 !important;
    color: #000000 !important;
}

.license-plate.plate-B {
    background: #ffffff !important;
    color: #a70000 !important;
    border: 2px solid #a70000;
}

.license-plate.plate-D,
.license-plate.plate-F,
.license-plate.plate-PL,
.license-plate.plate-P {
    background: #ffffff;
    color: #000000 !important;
}