.ps-cookie-consent {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2147483000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    pointer-events: auto;
}

.ps-cookie-consent[hidden] {
    display: none !important;
}

.ps-cookie-card {
    width: min(900px, 100%);
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    padding: 18px 20px;
    position: relative;
    pointer-events: auto;
}

.ps-cookie-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ps-cookie-head h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.ps-cookie-close {
    border: 0;
    background: #f8fafc;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 3;
}

.ps-cookie-copy {
    margin: 10px 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.ps-cookie-copy a {
    color: #15803d;
    font-weight: 700;
}

.ps-cookie-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.ps-cookie-option {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: #f8fafc;
}

.ps-cookie-option strong {
    display: block;
    font-size: 12px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ps-cookie-option small {
    display: block;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
    margin-top: 4px;
}

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

.ps-cookie-btn {
    border: 0;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 3;
}

.ps-cookie-btn.link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.ps-cookie-btn.ghost { background: #e2e8f0; color: #0f172a; }
.ps-cookie-btn.dark { background: #0f172a; color: #fff; }
.ps-cookie-btn.lime { background: #a3e635; color: #000; }

.ps-cookie-option input {
    pointer-events: auto;
    position: relative;
    z-index: 3;
}

.ps-chatbot-wrap {
    position: fixed;
    left: 16px;
    right: auto;
    bottom: 16px;
    z-index: 11500;
    pointer-events: none;
}

.ps-chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, #a3e635, #84cc16);
    color: #0f172a;
    box-shadow: 0 12px 36px rgba(132, 204, 22, 0.35);
    font-size: 22px;
    pointer-events: auto;
    cursor: pointer;
}

.ps-chatbot-panel {
    width: min(380px, calc(100vw - 24px));
    height: min(600px, calc(100vh - 94px));
    margin-bottom: 10px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
    position: relative;
}

.ps-chatbot-panel[hidden] {
    display: none !important;
}

.ps-chatbot-close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    border: 1px solid #cbd5e1;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
}

.ps-chatbot-close-icon:hover {
    background: #f8fafc;
}

.ps-chatbot-log {
    flex: 1;
    overflow-y: auto;
    padding: 50px 12px 12px;
    background: #f8fafc;
}

.ps-chat-msg {
    max-width: 86%;
    padding: 10px 11px;
    border-radius: 12px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
}

.ps-chat-msg.user {
    margin-left: auto;
    background: #0f172a;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ps-chat-msg.bot {
    background: #fff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.ps-chatbot-quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 12px 0;
}

.ps-chatbot-quick button {
    border: 1px solid #dbe4ea;
    background: #fff;
    border-radius: 9px;
    padding: 8px 9px;
    font-size: 11px;
    font-weight: 700;
    color: #334155;
}

.ps-chatbot-form {
    border-top: 1px solid #e2e8f0;
    padding: 10px;
    display: flex;
    gap: 8px;
}

.ps-chatbot-form input {
    flex: 1;
    border: 1px solid #d4dde5;
    border-radius: 10px;
    padding: 10px;
    font-size: 12px;
}

.ps-chatbot-form button {
    width: 40px;
    border: 0;
    border-radius: 10px;
    background: #a3e635;
    color: #0f172a;
}


@media (max-width: 991px) {
    .ps-cookie-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ps-chatbot-wrap {
        right: 12px;
        left: auto;
        bottom: 12px;
        width: auto;
        max-width: calc(100vw - 24px);
    }

    .ps-chatbot-toggle {
        margin-left: auto;
    }

    .ps-chatbot-panel {
        width: min(360px, calc(100vw - 24px));
        height: min(72vh, 560px);
    }

    .ps-cookie-card {
        border-radius: 14px;
        padding: 14px;
    }

    .ps-cookie-actions {
        flex-wrap: wrap;
    }

    .ps-cookie-btn {
        flex: 1 1 30%;
        min-width: 120px;
    }
}

