/* Donation MT Thermometer Styles */

.dt-thermometer-wrap {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.dt-thermometer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
}

/* Goal Banner */
.dt-goal-banner {
    font-size: 42px;
    font-weight: 900;
    color: #c0392b;
    text-shadow:
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        0 3px 6px rgba(0, 0, 0, 0.15);
    letter-spacing: 2px;
    margin-bottom: 50px;
    z-index: 2;
    font-style: italic;
}

/* Thermometer Body */
.dt-body {
    position: relative;
    width: 60px;
    height: 520px;
    background: linear-gradient(to right, #d0d0d0, #f5f5f5 30%, #ffffff 50%, #f0f0f0 70%, #c8c8c8);
    border-radius: 30px 30px 0 0;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        2px 2px 8px rgba(0, 0, 0, 0.15),
        -2px 2px 8px rgba(0, 0, 0, 0.1);
    padding: 8px;
    box-sizing: border-box;
}

.dt-tube {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #e8e8e8, #ffffff 40%, #f8f8f8 60%, #e0e0e0);
    border-radius: 22px 22px 0 0;
    overflow: hidden;
    border: 1px solid #ccc;
}

.dt-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #a52a1a, #d44025 30%, #e8543a 50%, #d44025 70%, #a52a1a);
    border-radius: 4px 4px 0 0;
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dt-glass-shine {
    position: absolute;
    top: 0;
    left: 6px;
    width: 8px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    border-radius: 22px;
    pointer-events: none;
    z-index: 3;
}

/* Milestone lines that cut across the thermometer */
.dt-milestone-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    transform: translateY(50%);
    z-index: 2;
}

.dt-milestone-line::before {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    top: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
}

.dt-milestone-line .dt-label {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 800;
    color: #222;
    white-space: nowrap;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

/* Bulb */
.dt-bulb {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d0d0d0, #f5f5f5 30%, #ffffff 50%, #e8e8e8 70%, #c0c0c0);
    box-shadow:
        2px 4px 10px rgba(0, 0, 0, 0.2),
        inset 0 -2px 6px rgba(0, 0, 0, 0.1);
    margin-top: -10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dt-bulb-fill {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e8543a, #c0392b 50%, #8b1a1a);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dt-bulb-shine {
    position: absolute;
    top: 14px;
    left: 20px;
    width: 22px;
    height: 16px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transform: rotate(-30deg);
}

/* Ellipse shadow under bulb */
.dt-bulb::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 14px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.12), transparent 70%);
    border-radius: 50%;
}

/* Current Amount */
.dt-current-amount {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #c0392b;
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    .dt-thermometer {
        width: 250px;
    }

    .dt-body {
        height: 400px;
        width: 50px;
    }

    .dt-goal-banner {
        font-size: 32px;
    }

    .dt-milestone-line .dt-label {
        font-size: 13px;
    }

    .dt-bulb {
        width: 74px;
        height: 74px;
    }

    .dt-bulb-fill {
        width: 56px;
        height: 56px;
    }
}
