/* License Numbers Widget Styles */
.license-numbers-widget {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    background-color: #f9f9f9;
}

.license-instructions {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.license-instructions p {
    margin: 0;
    font-size: 13px;
    color: #856404;
}

.license-states {
    margin-bottom: 15px;
}

.license-state-group {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 15px;
    background-color: white;
    overflow: hidden;
}

.state-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #e9ecef;
    border-bottom: 1px solid #dee2e6;
    gap: 15px;
}

.state-input,
.state-select {
    flex: 0 0 200px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    background-color: white;
}

.state-input:focus,
.state-select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.state-select {
    cursor: pointer;
}

.remove-state-btn {
    padding: 6px 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.remove-state-btn:hover {
    background-color: #c82333;
}

.license-numbers {
    padding: 15px;
}

.license-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.license-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
}

.license-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.remove-license-btn {
    padding: 6px 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    min-width: 30px;
}

.remove-license-btn:hover {
    background-color: #c82333;
}

.add-license-btn {
    padding: 6px 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 5px;
}

.add-license-btn:hover {
    background-color: #218838;
}

.add-state-btn {
    padding: 8px 16px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.add-state-btn:hover {
    background-color: #5a6268;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .state-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .state-input,
    .state-select {
        flex: none;
    }
    
    .license-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .license-input {
        margin-bottom: 5px;
    }
    
    .remove-license-btn {
        align-self: flex-end;
        max-width: 100px;
    }
}
