.tae-stock-widget-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 25px 40px;
    background-color: #fff;
    border-radius: 12px;
    font-family: "IBM Plex Sans Thai", sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.tae-stock-header {
    display: flex;
    flex-direction: column;
    margin-right: 40px;
}

.tae-stock-symbol {
    font-size: 56px;
    font-weight: 600;
    color: #026192;
    line-height: 1;
    margin-bottom: 5px;
}

.tae-stock-date {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

.tae-stock-info {
    display: flex;
    gap: 50px;
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.tae-stock-item {
    display: flex;
    flex-direction: column;
}

.tae-stock-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.tae-stock-value {
    font-size: 24px;
    font-weight: 500;
    color: #000;
}

.tae-stock-action {
    margin-left: auto;
}

.tae-stock-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

.tae-stock-link:hover {
    color: #026192;
}

.tae-stock-icon-circle {
    width: 48px;
    height: 48px;
    border: 1px solid #026192;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
    color: #333;
}

.tae-stock-link:hover .tae-stock-icon-circle {
    background-color: #026192;
    color: #fff;
}

@media (max-width: 991px) {
    .tae-stock-widget-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .tae-stock-header {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .tae-stock-info {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 20px;
    }

    .tae-stock-action {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .tae-stock-info {
        flex-direction: column;
        align-items: flex-start;
    }
}
