.crypto-algorithm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--ut-gradient-muted);
    border-radius: var(--ut-radius-md);
}

.crypto-algorithm-tab {
    padding: 12px 20px;
    background: var(--ut-color-surface);
    border: 2px solid var(--ut-color-border);
    border-radius: var(--ut-radius-sm);
    cursor: pointer;
    transition: all var(--ut-transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #495057;
}

.crypto-algorithm-tab:hover {
    border-color: var(--ut-color-primary-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.crypto-algorithm-tab.active {
    background: var(--ut-gradient-primary);
    color: white;
    border-color: var(--ut-color-primary-500);
}

.crypto-main-content {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.crypto-operation-panel {
    flex: 1;
    min-width: 300px;
}

.crypto-result-panel {
    flex: 1;
    min-width: 300px;
}

.crypto-panel-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ut-color-border);
    color: #495057;
}

.crypto-key-pair-group {
    margin-bottom: 20px;
}

.crypto-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.crypto-btn {
    padding: 10px 20px;
    border-radius: var(--ut-radius-sm);
    font-weight: 500;
    transition: all var(--ut-transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.crypto-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.crypto-btn:active {
    transform: translateY(0);
}

.crypto-btn-primary {
    background: var(--ut-gradient-primary);
    color: white;
}

.crypto-btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.crypto-btn-outline {
    background: var(--ut-color-surface);
    border: 2px solid var(--ut-color-primary-500);
    color: var(--ut-color-primary-500);
}

.crypto-btn-outline:hover {
    background: var(--ut-color-primary-500);
    color: white;
}

.crypto-result-content {
    position: relative;
}

.crypto-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: var(--ut-radius-sm);
    border: 2px solid var(--ut-color-border);
    background: var(--ut-color-surface);
    color: var(--ut-color-text-muted);
    cursor: pointer;
    transition: all var(--ut-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-copy-btn:hover:not(:disabled) {
    border-color: var(--ut-color-primary-500);
    color: var(--ut-color-primary-500);
}

.crypto-copy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.crypto-result-info {
    margin-top: 12px;
    padding: 12px;
    background: var(--ut-gradient-muted);
    border-radius: var(--ut-radius-md);
    font-size: 14px;
    color: #495057;
}

.crypto-algorithm-description {
    line-height: 1.8;
    color: #495057;
}

.crypto-panel-hidden {
    display: none !important;
}

.crypto-fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .crypto-algorithm-tabs {
        flex-direction: column;
    }

    .crypto-algorithm-tab {
        width: 100%;
        justify-content: center;
    }

    .crypto-main-content {
        flex-direction: column;
    }

    .crypto-action-buttons {
        flex-direction: column;
    }

    .crypto-btn {
        width: 100%;
        justify-content: center;
    }
}
