/**
 * Cadafy Thank Hide
 *
 * Custom phpBB extension created by Cadafy for WOWPR Online.
 *
 * Copyright (c) 2026 Cadafy.
 * Website: https://wowpr.online
 *
 * This stylesheet controls the visual design of the hidden content box
 * and the Thank and Unlock button.
 */

.thankhide-locked {
    margin: 12px 0;
    padding: 18px 20px;
    border: 1px solid #d6a63a;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(35, 25, 8, 0.96) 0%, rgba(20, 14, 5, 0.98) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 200, 80, 0.08) inset,
        0 0 18px rgba(214, 166, 58, 0.18),
        0 6px 18px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.thankhide-locked::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 208, 92, 0.06) 50%, transparent 100%);
    pointer-events: none;
}

.thankhide-locked-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffd86b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-shadow: 0 0 8px rgba(255, 216, 107, 0.18);
}

.thankhide-locked-text {
    font-size: 13px;
    line-height: 1.5;
    color: #f4e8c3;
    margin-bottom: 14px;
}

.thankhide-unlock-button {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #f0c35a;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8d56f 0%, #d6a63a 100%);
    color: #1a1205;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        0 2px 0 #8a6517,
        0 0 12px rgba(214, 166, 58, 0.25);
    transition: all 0.18s ease-in-out;
}

.thankhide-unlock-button:hover {
    background: linear-gradient(180deg, #ffe08b 0%, #e0b248 100%);
    color: #000;
    transform: translateY(-1px);
    box-shadow:
        0 3px 0 #8a6517,
        0 0 16px rgba(255, 210, 90, 0.35);
}

.thankhide-unlock-button:active {
    transform: translateY(1px);
    box-shadow:
        0 1px 0 #8a6517,
        0 0 10px rgba(214, 166, 58, 0.22);
}

.thankhide-unlock-button:focus {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(255, 220, 120, 0.35),
        0 3px 0 #8a6517,
        0 0 16px rgba(255, 210, 90, 0.35);
}

.thankhide-unlock-button:disabled {
    opacity: 0.75;
    cursor: wait;
    transform: none;
}

.thankhide-content {
    margin: 12px 0;
    padding: 14px 16px;
    border: 1px solid rgba(214, 166, 58, 0.45);
    border-radius: 10px;
    background: rgba(14, 10, 4, 0.92);
    box-shadow: 0 0 14px rgba(214, 166, 58, 0.08);
}