/* Base CSS - Shared styles for Thunder Vape */

:root {
    --thunder-yellow: #f6c243;
    --thunder-gold: #ffd700;
    --thunder-black: #1a1a1a;
    --thunder-dark: #0f0f0f;
    --thunder-gray: #333;
}

body {
    font-family: "Kanit", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
}

/* Shared Button Styles */
.btn-thunder {
    background: linear-gradient(135deg, var(--thunder-yellow) 0%, var(--thunder-gold) 100%);
    color: var(--thunder-black);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-thunder:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 194, 67, 0.4);
    color: var(--thunder-black);
}

.btn-thunder-outline {
    background: transparent;
    color: var(--thunder-black);
    border: 2px solid var(--thunder-black);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-thunder-outline:hover {
    background: var(--thunder-black);
    color: var(--thunder-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Shared Logo Icon */
.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--thunder-black) 0%, var(--thunder-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(10deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.logo-icon i {
    color: var(--thunder-yellow);
    font-size: 1.5rem;
    text-shadow: 0 0 8px rgba(246, 194, 67, 0.5);
}

/* Shared Animation Keyframes */
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-10px) rotate(var(--rotation, 0deg));
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes sparkle {
    0% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(246, 194, 67, 0.3);
    border-radius: 50%;
    border-top-color: var(--thunder-yellow);
    animation: spin 1s ease-in-out infinite;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .btn-thunder,
    .btn-thunder-outline {
        padding: 10px 20px;
        font-size: 14px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .logo-icon i {
        font-size: 1.2rem;
    }
}

/* Form Utilities */
.form-control:focus {
    border-color: var(--thunder-yellow);
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 67, 0.25);
}

.form-select:focus {
    border-color: var(--thunder-yellow);
    box-shadow: 0 0 0 0.2rem rgba(246, 194, 67, 0.25);
}

/* Alert Base Styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

/* Image Utilities */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Typography Utilities */
.text-thunder {
    color: var(--thunder-black);
}

.text-thunder-yellow {
    color: var(--thunder-yellow);
}

.text-thunder-gold {
    color: var(--thunder-gold);
}

.bg-thunder {
    background: linear-gradient(135deg, var(--thunder-yellow) 0%, var(--thunder-gold) 100%);
}

.bg-thunder-dark {
    background: linear-gradient(135deg, var(--thunder-black) 0%, var(--thunder-dark) 100%);
}

/* Shadow Utilities */
.shadow-thunder {
    box-shadow: 0 5px 20px rgba(246, 194, 67, 0.3);
}

.shadow-thunder-dark {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
