/* Sidebar Featured Styles */
.wm-sidebar-stock-info {
    font-family: "Montserrat", sans-serif;
    border: 1px solid #CCC;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
}

.stock-company {
    font-size: 15px;
    font-weight: 700;
    line-height: 18.29px;
    color: #000;
    margin-bottom: 10px;
}

.sector1 {
    display: grid;
    grid-template-areas: "left right";
    grid-template-columns: 1fr 2fr;
    padding: 10px 0;
    gap: 10px;
}

.sector-left {
    grid-area: left;
    font-size: 13px;
    font-weight: 400;
    line-height: 14.63px;
}

.sector-right {
    grid-area: right;
    text-align: right;
    font-size: 13px;
    font-weight: 400;
    line-height: 14.63px;
}

.stock-info-box {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    gap: 10px;
    padding: 10px 0;
}

.stock-info-left {
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    line-height: 18.29px;
    color: #0000FF;
    padding: 16px 0 0 0;
}

.stock-info-right {
    text-align: right;
    padding: 6px 0;
}

.download-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    padding: 10px 0;
    align-items: center;
}

.download-left {
    text-align: left;
}

.download-right {
    text-align: left;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    line-height: 18.29px;
    color: #000;
}

.copy-btn {
    background: #E8E8E8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 50px;
    padding: 8px 12px;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.copy-btn:hover,
.copy-btn:focus {
    background: #000;
    color: #FFF;
    text-decoration: none;
    transform: translateY(-1px);
}

.copy-btn img {
    width: 20px;
    height: 20px;
    transition: filter 0.3s ease;
}

.red-dl-btn {
    background: #000;
    color: #FFF;
    display: block;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.red-dl-btn:hover,
.red-dl-btn:focus {
    color: #FFF;
    text-decoration: none;
    background: #333;
    transform: translateY(-1px);
}

.wm-sidebar-stock-info.scroll-to-fixed-fixed {
    margin-top: 80px;
}

a.sq-text {
    color: #0000ff;
    transition: color 0.3s ease;
}

a.sq-text:hover {
    color: #0000cc;
}

/* Sticky sidebar positioning */
.sticky {
    position: sticky;
    top: 20px;
}

/* Widget spacing */
.wm-widget,
.mh-widget {
    margin-bottom: 30px;
}

.textwidget {
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .wm-sidebar-stock-info {
        padding: 10px;
        margin: 0 10px;
    }
    
    .sector1 {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .sector-right {
        text-align: left;
    }
    
    .stock-info-box {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .download-box {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility improvements */
.copy-btn:focus,
.red-dl-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Animation for smooth interactions */
.stock-info-box,
.download-box {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
