/* Styles pour les plaques d'immatriculation françaises */

/* Plaque standard */
.license-plate {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid #000;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 14px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-width: 120px;
    text-align: center;
    line-height: 1.2;
}

.license-plate::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    pointer-events: none;
}

.license-plate::after {
    content: 'F';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border: 1px solid #000;
    border-radius: 3px;
    line-height: 1;
}

/* Plaque pour tableaux */
.license-plate-table {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #000;
    border-radius: 6px;
    padding: 6px 10px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-width: 100px;
    text-align: center;
    line-height: 1.1;
}

.license-plate-table::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    pointer-events: none;
}

.license-plate-table::after {
    content: 'F';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    font-size: 8px;
    font-weight: bold;
    padding: 1px 4px;
    border: 1px solid #000;
    border-radius: 2px;
    line-height: 1;
}

/* Plaque compacte */
.license-plate-small {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #000;
    border-radius: 4px;
    padding: 4px 8px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 10px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-width: 80px;
    text-align: center;
    line-height: 1;
}

.license-plate-small::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    pointer-events: none;
}

.license-plate-small::after {
    content: 'F';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    font-size: 6px;
    font-weight: bold;
    padding: 1px 3px;
    border: 1px solid #000;
    border-radius: 1px;
    line-height: 1;
}

/* Animation hover */
.license-plate:hover,
.license-plate-table:hover,
.license-plate-small:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

/* Champ de saisie */
.license-plate-input {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    border: 2px solid #000;
    border-radius: 6px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.license-plate-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .license-plate {
        font-size: 12px;
        padding: 6px 10px;
        letter-spacing: 1.5px;
    }
    
    .license-plate-table {
        font-size: 10px;
        padding: 4px 8px;
        letter-spacing: 1px;
    }
    
    .license-plate-small {
        font-size: 8px;
        padding: 3px 6px;
        letter-spacing: 0.5px;
    }
} 