/* Premium Safelink Pro Ultimate Styling */

:root {
    --wsuc-primary: #4f46e5;
    --wsuc-primary-hover: #4338ca;
    --wsuc-secondary: #06b6d4;
    --wsuc-success: #10b981;
    --wsuc-bg: #f8fafc;
    --wsuc-text: #1e293b;
    --wsuc-text-muted: #64748b;
    --wsuc-border: #e2e8f0;
    --wsuc-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --wsuc-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Common Card & Layout */
.wsuc-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--wsuc-shadow-lg);
    border: 1px solid var(--wsuc-border);
    max-width: 600px;
    width: 100%;
    margin: 20px auto;
    transition: transform 0.3s ease;
}

/* Post Injection Containers */
.wsuc-top-timer-container, .wsuc-footer-timer-container {
    background: #ffffff;
    border: 1px solid var(--wsuc-border);
    border-radius: 24px;
    padding: 35px;
    text-align: center;
    margin: 40px 0;
    box-shadow: var(--wsuc-shadow);
    clear: both;
    position: relative;
    overflow: hidden;
}

.wsuc-top-timer-container::before, .wsuc-footer-timer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--wsuc-primary), var(--wsuc-secondary));
}

/* Circular Timer Design */
.wsuc-timer-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.wsuc-timer-wrapper svg {
    transform: rotate(-90deg);
    width: 100px;
    height: 100px;
}

.wsuc-timer-bg {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 6;
}

.wsuc-timer-progress {
    fill: none;
    stroke: var(--wsuc-primary);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.wsuc-timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 800;
    color: var(--wsuc-text);
    font-family: 'Inter', sans-serif;
}

/* Buttons */
.wsuc-btn {
    background: var(--wsuc-primary);
    color: #fff !important;
    border: none;
    padding: 16px 32px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none !important;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    min-width: 220px;
    width: auto;
}

.wsuc-btn:hover {
    background: var(--wsuc-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4);
}

.wsuc-btn:active {
    transform: translateY(0);
}

.wsuc-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Result Box */
.wsuc-result-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
    text-align: left;
}

#wsuc-decoded-text {
    margin: 0;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: #334155;
    word-break: break-all;
    white-space: pre-wrap;
    line-height: 1.6;
}

/* Animations */
@keyframes wsucFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wsuc-animate {
    animation: wsucFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Header Styling */
.wsuc-decoder-header h3 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.wsuc-decoder-header p {
    font-weight: 500;
}
