/* ══ Плавающий значок подарка ══ */
/* placeholder-круг с границей — заменить на вашу круглую иконку (можно положить <img> внутрь) */
#drp-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: #fff;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    z-index: 99998;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    animation: drp-pulse 2.2s infinite;
}

#drp-fab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

#drp-fab:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

@keyframes drp-pulse {
    0%   { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
    50%  { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18), 0 0 0 10px rgba(242, 140, 30, 0.12); }
    100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
}

/* ══ Тизер ══ */
#drp-teaser {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 320px;
    max-width: calc(100vw - 32px);
    z-index: 99998;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.drp-teaser-card {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 3px solid #1a8ca0;
    border-radius: 10px;
    padding: 22px 22px 24px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
}

.drp-teaser-title {
    color: #1a6f8c;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 18px;
}

.drp-teaser-btn {
    display: block;
    width: 100%;
    padding: 16px 12px;
    border: none;
    border-radius: 6px;
    background: #003257;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.drp-teaser-btn:hover {
    background: #00243f;
}

.drp-teaser-btn:active {
    transform: scale(0.99);
}

.drp-teaser-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-top: 14px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #1a6f8c;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.1s ease;
}

.drp-teaser-close:hover {
    transform: scale(1.05);
}

/* ══ Форма ══ */
#drp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#drp-box {
    position: relative;
    background: #fff;
    border-radius: 22px;
    width: 460px;
    max-width: 94vw;
    max-height: 92vh;
    overflow-y: auto;
    padding: 40px 34px 34px;
    box-sizing: border-box;
    box-shadow: 0 16px 54px rgba(0, 0, 0, 0.3);
}

.drp-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6f2f7;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: #1a6f8c;
    cursor: pointer;
    transition: background 0.2s;
}

.drp-close:hover {
    background: #cfe6ef;
}

.drp-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #16324a;
    line-height: 1.3;
    margin: 0 0 22px;
    padding-right: 24px;
}

.drp-input {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid #bcd9e6;
    border-radius: 30px;
    font-size: 0.98rem;
    color: #333;
    margin-bottom: 12px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.drp-input:focus {
    border-color: #1a8ca0;
}

.drp-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin-bottom: 10px;
    padding: 7px 12px;
    background: #fdf0ef;
    border-radius: 8px;
    border-left: 3px solid #c0392b;
}

.drp-checkbox-wrap {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 6px 0 18px;
}

.drp-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
    cursor: pointer;
    text-align: left;
}

.drp-checkbox-label span {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

.drp-checkbox-label input[type="checkbox"] {
    margin: 2px 0 0;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1a8ca0;
}

.drp-privacy-link {
    color: #1a8ca0;
    text-decoration: underline;
}

.drp-submit {
    display: block;
    width: 70%;
    margin: 0 auto;
    padding: 15px;
    border: none;
    border-radius: 30px;
    background: #003257;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.drp-submit:hover:not(:disabled) {
    background: #00243f;
    color: #fff;
    text-decoration: none;
}

.drp-submit:active:not(:disabled) {
    transform: scale(0.98);
}

.drp-submit:disabled {
    background: #d7d7d7;
    color: #f4f4f4;
    cursor: not-allowed;
}

.drp-submit-inline {
    box-sizing: border-box;
}

/* ══ Шаг 2: мессенджеры ══ */
.drp-step2-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #16324a;
    line-height: 1.35;
    margin: 0 0 22px;
    padding-right: 24px;
}

.drp-messenger-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drp-messenger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s, transform 0.1s;
}

.drp-messenger-btn:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

#drp-btn-tg {
    background: #26a5e4;
}

#drp-btn-max {
    background: #6f54ae;
}

/* ══ Шаг 3: личный кабинет ══ */
#drp-step3 {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e6ecf0;
    text-align: center;
}

.drp-step3-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #16324a;
    margin: 0 0 16px;
}

/* ══ Mobile ══ */
@media (max-width: 600px) {
    #drp-overlay {
        align-items: flex-end;
    }

    #drp-box {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 34px 22px 28px;
    }

    #drp-teaser {
        width: calc(100vw - 32px);
    }
}
