/* Print Mule Vehicle Signage Form */
.vsf-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

.vsf-header h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 10px;
    color: #222;
}

.vsf-header p {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #666;
    margin: 0;
}

/* Vehicle Selector */
.vsf-vehicle-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.vsf-vehicle-option {
    cursor: pointer;
    display: block;
}

.vsf-vehicle-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vsf-vehicle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 100px;
    position: relative;
}

.vsf-vehicle-icon {
    width: 100px;
    height: 50px;
    color: #888;
    transition: color 0.2s ease;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vsf-vehicle-icon svg {
    width: 100%;
    height: 100%;
}

.vsf-vehicle-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    color: #555;
    line-height: 1.3;
}

.vsf-vehicle-option:hover .vsf-vehicle-card {
    border-color: #ddd;
}

.vsf-vehicle-option:hover .vsf-vehicle-icon {
    color: #666;
}

.vsf-vehicle-option input:checked + .vsf-vehicle-card {
    border-color: transparent;
}

.vsf-vehicle-option input:checked + .vsf-vehicle-card .vsf-vehicle-icon {
    color: #ea0a8c;
}

.vsf-vehicle-option input:checked + .vsf-vehicle-card .vsf-vehicle-label {
    color: #ea0a8c;
}

/* Form Grid */
.vsf-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.vsf-field {
    display: flex;
    flex-direction: column;
}

.vsf-field-full {
    grid-column: 1 / -1;
}

.vsf-field input,
.vsf-field select,
.vsf-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.vsf-field input:focus,
.vsf-field select:focus,
.vsf-field textarea:focus {
    outline: none;
    border-color: #ea0a8c;
}

.vsf-field input::placeholder,
.vsf-field textarea::placeholder {
    color: #999;
}

.vsf-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.vsf-field select:invalid {
    color: #999;
}

/* Custom Select Dropdowns */
.vsf-custom-select {
    position: relative;
    width: 100%;
}

.vsf-select-trigger {
    width: 100%;
    padding: 12px 32px 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #999;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: border-color 0.2s;
    line-height: 1.4;
}

.vsf-select-trigger::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.2s;
}

.vsf-custom-select.is-open .vsf-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.vsf-select-trigger:hover {
    border-color: #aaa;
}

.vsf-custom-select.is-open .vsf-select-trigger {
    border-color: #ea0a8c;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.vsf-select-trigger.has-value {
    color: #333;
}

.vsf-custom-select.has-error .vsf-select-trigger {
    border-color: #e53935;
    background: #ffebee;
}

.vsf-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ea0a8c;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vsf-custom-select.is-open .vsf-select-options {
    display: block;
}

.vsf-select-option {
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}

.vsf-select-option:last-child {
    border-bottom: none;
}

.vsf-select-option:hover {
    background: #f8f8f8;
}

.vsf-select-option.is-selected {
    background: #ea0a8c;
    color: #fff;
}

/* File Upload */
.vsf-file-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vsf-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vsf-file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
    background: #fff;
    box-sizing: border-box;
}

.vsf-file-label:hover {
    border-color: #ea0a8c;
}

.vsf-file-text {
    font-size: 14px;
    color: #999;
}

.vsf-file-plus {
    font-size: 18px;
    font-weight: 300;
    color: #888;
}

.vsf-file-name {
    font-size: 12px;
    color: #ea0a8c;
    font-weight: 500;
}

.vsf-hint {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
    display: block;
}

/* Submit */
.vsf-submit-wrap {
    text-align: center;
    margin-top: 10px;
}

.vsf-submit-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #ea0a8c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: none !important;
}

.vsf-submit-btn:hover {
    background: #c40876 !important;
    transform: translateY(-1px);
}

.vsf-submit-btn:active {
    transform: translateY(0);
}

/* Messages */
.vsf-messages {
    margin-top: 20px;
    text-align: center;
}

.vsf-message {
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.vsf-message-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.vsf-message-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Responsive */
@media (max-width: 600px) {
    .vsf-form-grid {
        grid-template-columns: 1fr;
    }

    .vsf-vehicle-selector {
        gap: 10px;
    }

    .vsf-vehicle-icon {
        width: 70px;
        height: 35px;
    }

    .vsf-vehicle-card {
        min-width: 70px;
        padding: 10px 6px;
    }

    .vsf-header h2 {
        font-size: 22px;
    }
}
