/* Banner cookie + popup đồng ý điều khoản (templates/yobe365/privacy_consent.tpl) */
.ypc-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
    max-width: 680px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    text-align: center;
    background: #fff;
    color: #1c1a17;
    border: 1px solid #e6dfd2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .15);
    font-size: 14px;
    line-height: 1.5;
}

.ypc-cookie p {
    margin: 0;
}

.ypc-cookie .ypc-actions {
    justify-content: center;
    flex-wrap: wrap;
}

.ypc-cookie .ypc-btn {
    min-width: 170px; /* 2 nút cùng cỡ, không nhấn mạnh nút đồng ý hơn nút từ chối */
}

.ypc-cookie a,
.ypc-modal a {
    color: var(--main-color-hover, #b78530);
    text-decoration: underline;
}

.ypc-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.ypc-btn {
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid var(--main-color, #c79238);
    border-radius: 8px;
    background: var(--main-color, #c79238);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
}

.ypc-btn-line {
    background: #fff;
    color: var(--main-color-hover, #b78530) !important;
}

.ypc-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .5);
}

.ypc-modal-box {
    width: 100%;
    max-width: 460px;
    padding: 22px 20px;
    background: #fff;
    color: #1c1a17;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.55;
}

.ypc-modal-box h2 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
}

.ypc-check {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 12px 0 4px;
    font-weight: 600;
    cursor: pointer;
}

.ypc-check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.ypc-error {
    min-height: 18px;
    margin: 0 0 10px;
    color: #d93b30;
    font-size: 13px;
}
