/* Custom Styles for EVPartsCR */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #00D9FF 0%, #0A1128 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient overlay */
.gradient-overlay {
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.9) 0%, rgba(0, 217, 255, 0.3) 100%);
}

/* Custom hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.3);
}

/* Pulse animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 217, 255, 0.8);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(0, 217, 255, 0.2);
    border-top: 3px solid #00D9FF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: #00D9FF;
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
    outline: none;
}

/* File upload custom styling */
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-upload-wrapper input[type=file] {
    position: absolute;
    left: -9999px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #00D9FF;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0A1128;
}

/* Success/Error messages */
.message-box {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    animation: fadeInUp 0.5s ease-out;
}

.message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #00D9FF 0%, #0088cc 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0088cc 0%, #00D9FF 100%);
    transform: scale(1.05);
}
