/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* ---------- Toast Notifications (Exact match to reference image) ---------- */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 300px;
}

.toast-msg {
    position: relative;
    padding: 14px 40px 14px 16px;
    border-radius: 4px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transform: translateX(110%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    word-break: break-word;
    display: block;
}
.toast-msg.show { 
    transform: translateX(0) !important; 
    opacity: 1 !important; 
}

/* Exact colors from reference image */
.toast-msg.success { background: #5cb85c; }
.toast-msg.error   { background: #e57373; }
.toast-msg.warning { background: #f0ad4e; }
.toast-msg.info    { background: #5bc0de; }

/* Bold title line */
.toast-msg .toast-title {
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

/* Message body */
.toast-msg .toast-body {
    display: block;
    font-size: 13px;
    opacity: 0.95;
}

/* Close × button */
.toast-msg .close-toast {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 18px;
    font-weight: bold;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    font-family: Arial, sans-serif;
}
.toast-msg .close-toast:hover { color: #fff; }

/* ---------- Cookie Banner ---------- */
#cookie-banner {
    position: fixed; bottom: 25px; left: 25px; right: 25px;
    background: rgba(28, 34, 43, 0.96);
    backdrop-filter: blur(12px);
    padding: 22px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    z-index: 10000;
    transform: translateY(200%);
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { margin: 0; font-size: 15px; max-width: 70%; color: rgba(255,255,255,0.82); }
#cookie-banner .btn_accept {
    background: linear-gradient(45deg, #854ccf, #dc587d);
    color: #fff; border: none; padding: 11px 28px; border-radius: 12px;
    font-weight: 700; cursor: pointer; transition: all 0.3s; flex-shrink: 0; white-space: nowrap;
}
#cookie-banner .btn_accept:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(133,76,207,0.4); }

/* ---------- Success Screen ---------- */
#results { background: #fff !important; border-radius: 30px !important; padding: 80px 30px; box-shadow: 0 30px 100px rgba(0,0,0,0.08) !important; }
#results h2 { font-weight: 900; font-size: 36px; background: linear-gradient(45deg, #854ccf, #dc587d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 18px; }

/* Checkmark Animation */
.checkmark_svg { width: 100px; height: 100px; margin: 0 auto 30px; display: block; stroke: #854ccf; stroke-width: 2; stroke-miterlimit: 10; border-radius: 50%; box-shadow: inset 0 0 0 #854ccf; animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both; }
.checkmark_circle { stroke-dasharray: 166; stroke-dashoffset: 166; fill: none; animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
.checkmark_check { stroke: #dc587d; transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards; }
@keyframes stroke { 100% { stroke-dashoffset: 0; } }
@keyframes scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }
@keyframes fill { 100% { box-shadow: inset 0 0 0 50px #fff; } }

@media (max-width: 767px) {
    #cookie-banner { flex-direction: column; bottom: 15px; left: 15px; right: 15px; }
    #cookie-banner p { max-width: 100%; }
    #toast-container { width: calc(100vw - 40px); right: 20px; left: 20px; }
}
