/* ======================================================= */
/* 1. KHUNG CHUNG (rvn-widget) */
/* ======================================================= */
.rvn-weather-rates {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: #ffffff;
    border-radius: 7px;
    padding: 20px 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 5%);
    transition: box-shadow 0.3s ease-in-out;
	justify-content: space-between;
	flex-wrap: wrap;
}

.rvn-widget {
    /* Thiết lập font và kích thước cơ bản */
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.rvn-widget strong {
    font-weight: 700;
    color: #007bff; /* Màu nhấn chính (xanh dương) */
}

.rvn-widget .error {
    color: #dc3545; /* Màu đỏ cho lỗi */
    font-weight: 500;
}

/* ======================================================= */
/* 2. WIDGET THỜI TIẾT (rvn-weather-widget) */
/* ======================================================= */
.rvn-weather-widget {
    display: flex;
    align-items: center;
    font-weight: 500;
	gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.weather-temp {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.rvn-weather-widget span {
    white-space: nowrap;
}

.rvn-weather-icon {
    /* Đảm bảo icon nhỏ gọn */
    width: 50px; 
    height: 50px;
    display: block; /* Tránh khoảng trống dưới hình ảnh */
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1)); /* Đổ bóng nhẹ cho icon */
}

.rvn-weather-temp {
    font-size: 4em;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.rvn-weather-temp strong {
    color: #ffc107; /* Màu vàng cam nổi bật cho nhiệt độ */
}

.rvn-weather-desc {
    color: #6c757d; /* Màu xám nhẹ cho mô tả */
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis; /* Cắt chuỗi nếu quá dài */
}

.w-city {
    font-size: 18px;
    font-weight: 800;
    display: block;
    color: var(--main-blue-color);
	line-height:1.2;
}

/* ======================================================= */
/* 3. WIDGET TỶ GIÁ (rvn-rates-widget) */
/* ======================================================= */
.rvn-rates-widget {
    display: flex;
    flex-wrap: wrap; /* Cho phép xuống dòng trên thiết bị nhỏ */
    justify-content: center;
    font-weight: 400;
	align-items: center;
	gap: 4px;
	font-size: 16px;
}

.rvn-rates-widget strong {
    font-weight: 800;
    color: var(--main-blue-color);
    margin-left: 4px;
    margin-right: 8px;
}

.rvn-rates-widget sup {
    /* Phong cách cho giá tĩnh (Tĩnh) */
    font-size: 0.8em;
    color: #dc3545; /* Màu đỏ */
    margin-left: 2px;
}

.rvn-rate {
    font-weight: 800;
    color: var(--main-red-color);
}
.rvn-rate-title:after {
    content: "";
    position: absolute;
    width: calc(50% - 32px);
    height: 1px;
    background-color: #eff2f5;
    right: 0;
    top: 50%;
}

.rvn-rate-title:before {
    content: "";
    position: absolute;
    width: calc(50% - 32px);
    height: 1px;
    background-color: #eff2f5;
    left: 0;
    top: 50%;
}
.rvn-rate-title {
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    position: relative;
	margin-bottom: 8px;
}