/* Rainbow divider */
.rainbow-divider {
    height: 4px;
    background: linear-gradient(to right, 
        #ff0000, #ff9900, #ffff00, 
        #33cc33, #3399ff, #6633cc, #cc33cc);
    margin: 0 auto;
    border-radius: 2px;
}

/* JRDECODER title styling */
.jrdecoder-title {
    background: linear-gradient(to right, 
        #ff0066, #ff3399, #ff99cc, 
        #ff99ff, #cc99ff, #9999ff, #99ccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

/* Image container styling */
.image-container {
    max-height: 400px;
    overflow: auto;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
}

/* Card styling */
.card {
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(33, 37, 41, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: linear-gradient(45deg, #303030, #202020);
    font-weight: 500;
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Custom form control styling */
.form-control {
    background-color: rgba(33, 37, 41, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(33, 37, 41, 0.9);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

/* Animation for alerts */
.alert {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Body background */
body {
    background-color: #121212;
    background-image: linear-gradient(45deg, #121212 25%, #1a1a1a 25%, #1a1a1a 50%, #121212 50%, #121212 75%, #1a1a1a 75%, #1a1a1a);
    background-size: 20px 20px;
}