.result-section {
    margin-top: 20px;
    animation: slideDown 0.3s ease;
}

.result-section.hidden {
    display: none;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.result-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px 24px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.result-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8894b8;
    margin-bottom: 8px;
}

.result-url-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f4f2fa;
    border-radius: 12px;
    padding: 10px 16px;
}

.result-url-box a {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    color: #3f4d73;
    word-break: break-all;
    text-decoration: none;
}

.result-url-box a:hover {
    text-decoration: underline;
}

.btn-copy {
    flex-shrink: 0;
    background: var(--bg-gradient);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: opacity 0.15s, transform 0.1s;
}

.btn-copy:hover {
    opacity: 0.85;
}

.btn-copy:active {
    transform: scale(0.9);
}

.btn-copy.copied {
    background: #28a745;
}

.result-original {
    margin-top: 10px;
    font-size: 12px;
    color: #8894b8;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shorten-error {
    color: #e53e3e;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    text-align: center;
    display: none;
}
