/* ==========================================================================
   STOCK EOD SLIDER - PERFECT STYLING
   ========================================================================== */

/* Container & Loading States */
.stock-animate-container{
    opacity: 0;
    transition: .3s all ease-in-out;
}
.stock-animate-container.stock-ready{
    opacity: 1;
}
.stock-final-loading,
.stock-error {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: #f8f9fa;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 500;
}

/* Individual Stock Slide */
.stock-final-slide {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    border-radius: 35px;
    border: 1px solid #ddd;
    background: #fff;
    margin: 0 5px;
    width: 255px !important;
}

/* Trend Images */
.trend-img {
    width: 40px;
    height: 40px;
}
.stock-data{
    padding-left: 5px;
    padding-right: 10px;
}

/* Typography */
.stock-sym {
    font-size: 18px;
    font-family: Arimo, sans-serif;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.stock-name {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Price Container */
.stock-prices {
    display: flex;
    font-size: 16px;
}

/* Change Badge */
.stock-change {
    font-size: 18px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 25px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    text-align: center;
}

.stock-change.up {
    background: rgba(34, 197, 94, 0.3);
    color: #10b981;
    border: 2px solid #10b981;
    animation: pulse-green 2s infinite;
}

.stock-change.down {
    background: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    border: 2px solid #ef4444;
    animation: pulse-red 2s infinite;
}

.trade-button{
    background: linear-gradient(135deg, #a135ad, #2044ee);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 10px #0000001a;
    transition: opacity .3s ease, box-shadow .2s ease;
    outline: none;
}
.trade-button:hover{
    color: #fff;
}

/* Animations */
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}
