/* Enhanced VIN/Make/Model Shortcode Styles */
.vinmm-container {
    margin: 40px auto;
    padding: 0 20px;
    max-width: 480px;
}

.vinmm-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(230, 235, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.vinmm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0077be 0%, #005a9a 50%, #004577 100%);
    border-radius: 20px 20px 0 0;
}

.vinmm-header {
    text-align: center;
    margin-bottom: 24px;
}

.vinmm-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.vinmm-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.vinmm-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
    position: relative;
}

.vinmm-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
    position: relative;
}

.vinmm-tab:hover {
    color: #475569;
    background: rgba(255, 255, 255, 0.5);
}

.vinmm-tab.active {
    background: white;
    color: #0077be;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.04);
}

.tab-icon {
    font-size: 16px;
    opacity: 0.8;
}

.vinmm-tab.active .tab-icon {
    opacity: 1;
}

.vinmm-accuracy-banner {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
}

.accuracy-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #065f46;
    font-weight: 500;
}

.accuracy-icon {
    color: #10b981;
    flex-shrink: 0;
}

.vinmm-form-content {
    margin-bottom: 20px;
}

.vinmm-tab-panel {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.vinmm-tab-panel.active {
    display: block;
}

.vinmm-input-group {
    margin-bottom: 20px;
}

.vinmm-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.vinmm-input-container {
    position: relative;
}

.vinmm-input,
.vinmm-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
    appearance: none;
    outline: none;
    box-sizing: border-box;
}

.vinmm-input:hover,
.vinmm-select:hover {
    border-color: #d1d5db;
}

.vinmm-input:focus,
.vinmm-select:focus {
    border-color: #0077be;
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
    background-color: #fefefe;
}

.vin-input {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding-right: 65px;
    font-weight: 500;
}

.vinmm-vin-counter {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #9ca3af;
    background-color: #f9fafb;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    pointer-events: none;
    border: 1px solid #e5e7eb;
}

.vinmm-vin-counter.complete {
    color: #059669;
    background-color: #ecfdf5;
    border-color: #bbf7d0;
}

.vinmm-vin-counter.error {
    color: #dc2626;
    background-color: #fef2f2;
    border-color: #fecaca;
}

.vinmm-help-text {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    font-style: italic;
}

.vinmm-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 48px;
}

.vinmm-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0077be 0%, #005a9a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.vinmm-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.vinmm-submit-btn:hover::before {
    left: 100%;
}

.vinmm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(0, 119, 190, 0.3),
        0 4px 8px rgba(0, 119, 190, 0.1);
    background: linear-gradient(135deg, #0087d4 0%, #0066aa 100%);
}

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

.btn-arrow {
    transition: transform 0.3s ease;
}

.vinmm-submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.vinmm-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    text-align: center;
}

.shield-icon {
    color: #9ca3af;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .vinmm-container {
        margin: 20px auto;
        padding: 0 16px;
    }
    
    .vinmm-card {
        padding: 24px 20px;
    }
    
    .vinmm-title {
        font-size: 24px;
    }
    
    .vinmm-tab {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .vinmm-input,
    .vinmm-select {
        padding: 14px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .vin-input {
        padding-right: 60px;
        letter-spacing: 1px;
    }
    
    .vinmm-submit-btn {
        padding: 16px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .vinmm-card {
        border-radius: 16px;
        margin: 0 8px;
    }
    
    .tab-icon {
        display: none;
    }
}