/* Safetext Protection CSS - Based on Safemail E-Mail Protection */

.safe-text-container {
    display: inline-block;
    vertical-align: middle;
    font-family: inherit;
}

.safetext-align-center {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 10px 0;
}

.safetext-align-left {
    display: block !important;
    text-align: left !important;
    width: 100% !important;
    margin: 10px 0;
}

.safetext-align-right {
    display: block !important;
    text-align: right !important;
    width: 100% !important;
    margin: 10px 0;
}

.reveal-safe-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0056b3;
    color: #ffffff !important;
    border: none;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.15);
    line-height: 1.2;
    text-decoration: none !important;
}

.reveal-safe-text:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 86, 179, 0.25);
}

.safe-text-output {
    display: none;
    font-weight: 600;
    color: #0056b3;
    animation: safetextFadeIn 0.4s ease forwards;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.safe-text-output a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.safe-text-output a:hover {
    border-bottom: 2px solid #0056b3;
}

@keyframes safetextFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
