/* ════════════════════════════════════════════════════════════
   TRUSTPILOT WIDGET (Vanilla CSS Translation)
   Positioned bottom-left per user request.
   ════════════════════════════════════════════════════════════ */

.tp-trigger {
    position: fixed;
    bottom: 32px;
    left: 32px; /* Changed from right to left */
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999;
    background: rgba(18, 18, 18, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #e2e8f0;
}
.tp-trigger:hover {
    background: rgba(0, 182, 122, 0.85);
    border-color: rgba(0, 182, 122, 0.5);
    box-shadow: 0 15px 30px rgba(0, 182, 122, 0.4), 0 0 20px rgba(0, 182, 122, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}
.tp-trigger svg {
    width: 24px;
    height: 24px;
    color: #00b67a;
    transition: color 0.25s;
}
.tp-trigger:hover svg {
    color: #fff;
}

.tp-card {
    position: fixed;
    bottom: 116px;
    left: 32px; /* Changed from right to left */
    width: 390px;
    max-width: calc(100vw - 64px);
    border-radius: 28px;
    padding: 32px;
    z-index: 999999;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.003) 50%, rgba(0, 0, 0, 0.45) 100%), rgba(10, 11, 14, 0.68); 
    backdrop-filter: blur(50px) saturate(240%);
    -webkit-backdrop-filter: blur(50px) saturate(240%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.85), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.18), inset 0 -1.5px 2px rgba(0, 182, 122, 0.25);
    box-sizing: border-box;
}
.tp-card * {
    box-sizing: border-box;
}
.tp-card.active { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
    pointer-events: auto; 
}

.tp-close {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 8px;
    border-radius: 50%;
    color: #a1a1aa;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tp-close:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}
.tp-close svg {
    width: 20px;
    height: 20px;
}

.tp-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 24px;
    padding-left: 4px;
    padding-right: 4px;
}

.tp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.tp-header svg {
    width: 32px;
    height: 32px;
}
.tp-header span {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #ffffff;
    line-height: 1;
}

.tp-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
.tp-stars button {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
    cursor: pointer;
    padding: 0;
}
.tp-stars button svg {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.15);
}

.tp-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.2;
}
.tp-desc {
    color: #d4d4d8;
    font-size: 12px;
    line-height: 1.625;
    max-width: 320px;
    margin-top: 0;
    margin-bottom: 16px;
}

.tp-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.tp-btn {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
}
.tp-btn-primary {
    background: rgba(0, 182, 122, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 182, 122, 0.6);
    color: #ffffff;
    font-weight: 800;
    padding: 12px 16px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tp-btn-primary:hover {
    background: rgba(0, 182, 122, 0.85);
    border-color: rgba(0, 182, 122, 0.5);
    box-shadow: 0 15px 35px rgba(0, 182, 122, 0.45), inset 0 1px 0px rgba(255, 255, 255, 0.3);
    transform: scale(1.015);
}

.tp-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d4d4d8;
    font-weight: 700;
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: 0.025em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.015);
}
